Ned Deily
577c830531
Issue #14184 : merge
2012-03-13 11:31:36 -07:00
Ned Deily
7ca97d5208
Issue #14184 : Increase the default stack size for secondary threads on
...
Mac OS X to prevent interpreter crashes when compiled on 10.7.
2012-03-13 11:18:18 -07:00
Victor Stinner
5d272cc6a2
Close #14180 : Factorize code to convert a number of seconds to time_t, timeval or timespec
...
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
2012-03-13 13:35:55 +01:00
Michael Foord
5738e4f3df
Merge
2012-03-13 00:14:19 -07:00
Michael Foord
e01c62cd6b
Fix unittest test discovery for Jython
2012-03-13 00:09:54 -07:00
Martin v. Löwis
2b695a4678
Issue #1178863 : Separate initialisation from setting when initializing
...
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables
that have not been deleted; assert that variable names are strings
Patch by Andrew Svetlov.
2012-03-12 17:47:35 -07:00
Sean Reifschneider
7b3c975aaf
closes #14259 re.finditer() now takes keyword arguments: pos, endpos.
...
Contrary to the documentation, finditer() did not take pos and endpos
keyword arguments.
2012-03-12 18:22:38 -06:00
Victor Stinner
a8ec5ea923
Issue #14104 : Implement time.monotonic() on Mac OS X,
...
patch written by Nicholas Riley.
2012-03-13 00:25:42 +01:00
Ezio Melotti
48d578c02a
#13394 : add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk.
2012-03-12 23:57:18 +02:00
Benjamin Peterson
7e0dbfbbde
give the AST class a __dict__
2012-03-12 09:46:44 -07:00
Antoine Pitrou
b69ef16fe6
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:33:29 +01:00
Antoine Pitrou
1f9a835400
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:29:12 +01:00
Georg Brandl
4c7c3c58be
Close #14210 : add command argument completion to pdb: complete file names, global/local variables, aliases
2012-03-10 22:36:48 +01:00
Victor Stinner
8f40860944
Close #14223 : curses.addch() is no more limited to the range 0-255 when the
...
Python curses is not linked to libncursesw. It was a regression introduced in
Python 3.3a1.
2012-03-08 02:08:48 +01:00
Benjamin Peterson
9a6338651e
merge 3.2 (#3787e896dbe9)
2012-03-07 18:52:52 -06:00
Benjamin Peterson
dae9f8334e
this stuff will actually be new in 3.2.4
2012-03-07 18:49:43 -06:00
Benjamin Peterson
52c424343d
allow cycles throught the __dict__ slot to be cleared ( closes #1469629 )
...
Patch from Armin, test from me.
2012-03-07 18:41:11 -06:00
Benjamin Peterson
099a78fe6d
make delegating generators say they running ( closes #14220 )
2012-03-07 17:57:04 -06:00
Benjamin Peterson
33d21a24fa
merge 3.2 ( #14212 )
2012-03-07 14:59:13 -06:00
Benjamin Peterson
1ae230aa1a
merge heads
2012-03-07 14:50:35 -06:00
Benjamin Peterson
e48944b69c
keep the buffer object around while we're using it ( closes #14212 )
2012-03-07 14:50:25 -06:00
Éric Araujo
2fa0cbc9ae
Remove buggy change for #13719 in packaging
2012-03-07 20:56:18 +01:00
Éric Araujo
a420c820fe
Backout buggy patch committed for #13719
2012-03-07 20:48:55 +01:00
Victor Stinner
198b291df7
Close #14205 : dict lookup raises a RuntimeError if the dict is modified during
...
a lookup.
"if you want to make a sandbox on top of CPython, you have to fix segfaults"
so let's fix segfaults!
2012-03-06 01:03:13 +01:00
Martin v. Löwis
b2c7cca0cf
Move entry to right section. Mention minidom.
2012-03-05 22:02:28 +01:00
Antoine Pitrou
bdb1cf1ca5
Issue #12328 : Fix multiprocessing's use of overlapped I/O on Windows.
...
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once. Patch by sbt.
Complete changelist from sbt's patch:
* Adds a wait(rlist, timeout=None) function for polling multiple
objects at once. On Unix this is just a wrapper for
select(rlist, [], [], timeout=None).
* Removes use of the SentinelReady exception and the sentinels argument
to certain methods. concurrent.futures.process has been changed to
use wait() instead of SentinelReady.
* Fixes bugs concerning PipeConnection.poll() and messages of zero
length.
* Fixes PipeListener.accept() to call ConnectNamedPipe() with
overlapped=True.
* Fixes Queue.empty() and SimpleQueue.empty() so that they are
threadsafe on Windows.
* Now PipeConnection.poll() and wait() will not modify the pipe except
possibly by consuming a zero length message. (Previously poll()
could consume a partial message.)
* All of multiprocesing's pipe related blocking functions/methods are
now interruptible by SIGINT on Windows.
2012-03-05 19:28:37 +01:00
Éric Araujo
b8e280d225
Make packaging’ upload command work with bdist_msi products ( #13719 )
2012-03-05 17:04:07 +01:00
Éric Araujo
6a59b70cba
Merge 3.2
2012-03-05 16:24:07 +01:00
Éric Araujo
e413c06f35
Make distutils’ upload command work with bdist_msi products ( #13719 ).
...
Patch by Ralf Schmitt.
2012-03-05 16:09:29 +01:00
Florent Xicluna
75b5e7ee15
Issue #14007 : accept incomplete TreeBuilder objects (missing start/end/data/close) for the Python implementation as well. Add disabled tests for the doctype() method.
2012-03-05 10:42:19 +01:00
Georg Brandl
ab8f392ff0
3.3.0a1 is done.
2012-03-05 08:54:46 +01:00
Martin v. Löwis
67245a6ed4
Issue #14168 : Check for presence of _attrs before accessing it.
2012-03-05 07:01:49 +01:00
Meador Inge
f1c42599ba
Issue #14195 : Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
2012-03-04 22:40:15 -06:00
Meador Inge
653f932eff
Issue #14195 : Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
2012-03-04 22:15:38 -06:00
Antoine Pitrou
8d3c290de4
Issue #14166 : Pickler objects now have an optional `dispatch_table` attribute which allows to set custom per-pickler reduction functions.
...
Patch by sbt.
2012-03-04 18:31:48 +01:00
Georg Brandl
6c8850d94d
Bump to 3.3.0a1.
2012-03-04 16:23:53 +01:00
Antoine Pitrou
0d3a003f24
- Issue #14177 : marshal.loads() now raises TypeError when given an unicode
...
string. Patch by Guilherme Gonçalves.
2012-03-03 02:38:37 +01:00
Antoine Pitrou
4a90ef0363
Issue #14177 : marshal.loads() now raises TypeError when given an unicode string.
...
Patch by Guilherme Gonçalves.
2012-03-03 02:35:32 +01:00
Victor Stinner
135b6d8aa5
Close #13550 : Remove the debug machinery from the threading module: remove
...
verbose arguments from all threading classes and functions.
2012-03-03 01:32:57 +01:00
Antoine Pitrou
b2677c7397
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
2012-03-02 18:16:38 +01:00
Antoine Pitrou
679e9d36f7
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
2012-03-02 18:12:43 +01:00
Antoine Pitrou
0836baa46a
Issue #14159 : Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
...
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
2012-03-01 16:28:14 +01:00
Antoine Pitrou
bbe2f60b3c
Issue #14159 : Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
...
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
2012-03-01 16:26:35 +01:00
Antoine Pitrou
049242b87c
Issue #13125 : Silence spurious test_lib2to3 output when in non-verbose mode.
...
Patch by Mikhail Novikov.
2012-02-27 19:56:37 +01:00
Antoine Pitrou
d311374089
Issue #13125 : Silence spurious test_lib2to3 output when in non-verbose mode.
...
Patch by Mikhail Novikov.
2012-02-27 19:55:36 +01:00
Éric Araujo
40e0f35ad5
Fix comparison bug with 'rc' versions in packaging.version ( #11841 ).
...
I added some tests in 2105ab8553b7 and found no bug, but it turns out
that the doctest is not actually run. While converting the doctest to
unittest style, I stumbled upon this bug again and this time applied the
code patch provided by Filip Gruszczyński.
2012-02-27 11:47:44 +01:00
Antoine Pitrou
70d2717f2e
Issue #13521 : dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
...
Patch by Filip Gruszczyński.
2012-02-27 00:59:34 +01:00
Antoine Pitrou
e965d97ed1
Issue #13521 : dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
...
Patch by Filip Gruszczyński.
2012-02-27 00:45:12 +01:00
Nick Coghlan
ab7bf2143e
Close issue #6210 : Implement PEP 409
2012-02-26 17:49:52 +10:00
Ezio Melotti
cda6b6d60d
#14081 : The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments.
2012-02-26 09:39:55 +02:00