Antoine Pitrou
c3afba104a
Issue #14631 : Add a new :class:weakref.WeakMethod to simulate weak references to bound methods.
2012-11-17 18:57:38 +01:00
Ezio Melotti
658f3522c6
#11981 : remove duplicate line. Patch by Johan Euphrosine.
2012-11-17 18:56:15 +02:00
Brett Cannon
10f19812b5
Merge fix for #16489 from 3.3
2012-11-17 09:33:14 -05:00
Brett Cannon
56b4ca78d8
Issue #16489 : Make it clearer that importlib.find_loader() requires
...
the user to import any parent packages.
2012-11-17 09:30:55 -05:00
Jesus Cea
a4e37037a2
MERGE: Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:43:15 +01:00
Jesus Cea
fc1a63620e
MERGE: Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:42:41 +01:00
Jesus Cea
e4b863982c
Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:41:54 +01:00
Ezio Melotti
9d2e7e010e
#16478 : merge with 3.3.
2012-11-16 13:17:59 +02:00
Ezio Melotti
eb24b44ef4
#16478 : merge with 3.2.
2012-11-16 13:17:42 +02:00
Ezio Melotti
103f17ef91
#16478 : use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka.
2012-11-16 13:17:08 +02:00
Mark Dickinson
73726aac0f
Issue #16469 : Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError.
2012-11-15 20:58:40 +00:00
Richard Oudkerk
8f7c4b8a85
Issue #16481 : Merge
2012-11-15 18:22:23 +00:00
Richard Oudkerk
021f4c2ecc
Issue #16481 : multiprocessing no longer leaks process handles on Windows.
2012-11-15 18:16:35 +00:00
Vinay Sajip
8d27023a7e
Allow configuration of handler properties.
2012-11-15 14:20:18 +00:00
Philip Jenvey
8f2b6ad96f
merge 3.3
2012-11-14 14:51:44 -08:00
Philip Jenvey
21c95ebf7f
merge 3.2
2012-11-14 14:49:49 -08:00
Philip Jenvey
b37ac8eaf6
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
2012-11-14 14:37:24 -08:00
Brett Cannon
cc1343140d
Fix a typo
2012-11-14 15:49:55 -05:00
Brett Cannon
6f7e81a549
merge
2012-11-14 15:22:56 -05:00
Brett Cannon
cd8efa3704
Clean up the messages used by some tests.
2012-11-14 15:16:53 -05:00
Brett Cannon
8c5ec0a3af
Clean up test_sundry and have it error out when a module has grown
...
proper tests.
2012-11-14 15:16:53 -05:00
Brett Cannon
613cf25d2a
Use importlib instead of calling __import__ directly.
2012-11-14 13:42:51 -05:00
Mark Dickinson
d20fb82195
Issue #16290 : __complex__ must now always return an instance of complex.
2012-11-14 17:08:31 +00:00
Vinay Sajip
2eb2f5e359
Closes #16378 : Merged docstring changes from 3.3.
2012-11-14 11:19:42 +00:00
Vinay Sajip
87ed599b8a
Issue #16378 : Updated docstrings to reflect the defaults present in the code.
2012-11-14 11:18:35 +00:00
Antoine Pitrou
3354327113
Fix whitespace.
2012-11-13 21:36:21 +01:00
Antoine Pitrou
b5b3714168
Issue #12428 : Add a pure Python implementation of functools.partial().
...
Patch by Brian Thorne.
2012-11-13 21:35:40 +01:00
Philip Jenvey
65a35dcadd
merge 3.3
2012-11-13 12:28:39 -08:00
Philip Jenvey
000bd4254f
merge 3.2
2012-11-13 12:27:56 -08:00
Philip Jenvey
3acc7ef1c5
add gc_collects to weakref tests
2012-11-13 12:26:31 -08:00
Victor Stinner
ee36c24d15
Issue #15478 : os.lchflags() is not always available when os.chflags() is available
2012-11-13 09:31:51 +01:00
Benjamin Peterson
29824550b1
merge 3.3
2012-11-12 16:48:25 -05:00
Benjamin Peterson
debf64ce2b
missing letter
2012-11-12 16:48:17 -05:00
Victor Stinner
e667e98faa
Issue #16218 , #16444 : Backport improvment on tests for non-ASCII characters
2012-11-12 01:23:15 +01:00
Antoine Pitrou
f2985650a0
Add a test for hashing of unaligned memory buffers (from issue #16427 ).
2012-11-11 20:11:15 +01:00
Antoine Pitrou
37bfa4e7ec
Add a test for hashing of unaligned memory buffers (from issue #16427 ).
2012-11-11 20:10:48 +01:00
Antoine Pitrou
05bc966490
Merge heads
2012-11-11 19:41:09 +01:00
Antoine Pitrou
1de1394f54
Merge heads
2012-11-11 19:40:49 +01:00
Antoine Pitrou
cc7715f8ae
Merge heads
2012-11-11 19:40:38 +01:00
Antoine Pitrou
898347056a
Issue #16453 : Fix equality testing of dead weakref objects.
...
Also add tests for ordering and hashing.
2012-11-11 19:39:35 +01:00
Antoine Pitrou
f6a50cfa07
Issue #16453 : Fix equality testing of dead weakref objects.
...
Also add tests for ordering and hashing.
2012-11-11 19:37:41 +01:00
Antoine Pitrou
e11fecb5a9
Issue #16453 : Fix equality testing of dead weakref objects.
...
Also add tests for ordering and hashing.
2012-11-11 19:36:51 +01:00
Gregory P. Smith
65ee6ece2d
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
2012-11-11 10:12:40 -08:00
Gregory P. Smith
859035d2ef
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
2012-11-11 10:00:49 -08:00
Gregory P. Smith
e27faac45f
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
2012-11-11 09:59:27 -08:00
Nadeem Vawda
cba149761a
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:20:09 +01:00
Nadeem Vawda
6ff262e18f
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:14:47 +01:00
Nadeem Vawda
19e568d254
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:04:14 +01:00
Gregory P. Smith
c2c4cb624b
Fixes issue #16140 : The subprocess module no longer double closes its
...
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
2012-11-11 01:41:49 -08:00
Gregory P. Smith
c8ac03d936
Fixes issue #16140 : The subprocess module no longer double closes its
...
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
2012-11-11 01:38:18 -08:00