Commit graph

57436 commits

Author SHA1 Message Date
Ezio Melotti
f7c709d62d #16306: merge with 3.2. 2012-11-18 14:02:08 +02:00
Ezio Melotti
7c66319edc #16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen. 2012-11-18 13:55:52 +02:00
Ezio Melotti
0e1c8166a4 #14313: null merge. 2012-11-18 13:22:34 +02:00
Ezio Melotti
6a5fc4c443 #14313: zipfile now raises NotImplementedError when the compression type is unknown. 2012-11-18 13:20:36 +02:00
Ezio Melotti
186ab5f404 #16053: merge with 3.2. 2012-11-18 12:56:17 +02:00
Ezio Melotti
a69be2803b #16053: document csv.Dialect.strict. Patch by Kushal Das. 2012-11-18 12:55:35 +02:00
Mark Dickinson
eb54deb2d2 Merge typo fix from 3.2. 2012-11-18 10:42:27 +00:00
Mark Dickinson
ec967246a1 Typo fix. 2012-11-18 10:42:07 +00:00
Mark Dickinson
f56c361212 Issue #12005: merge doc patch from 3.2 2012-11-18 10:22:40 +00:00
Mark Dickinson
a3f37408da Issue #12005: clarify behaviour of % and // for Decimal objects. 2012-11-18 10:22:05 +00:00
Antoine Pitrou
8572da5e96 Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
2012-11-17 23:52:05 +01:00
Antoine Pitrou
17babc5e97 Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
2012-11-17 23:50:08 +01:00
Antoine Pitrou
6d5ad227a5 Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.
2012-11-17 23:28:17 +01:00
Ezio Melotti
fa7aeecbca #16157: fix links in the whatsnew files. 2012-11-17 19:29:12 +02:00
Ezio Melotti
9c594af3dd #16420: merge with 3.2. 2012-11-17 17:38:58 +02:00
Ezio Melotti
a39a22dc0b #16420: document a way to escape metacharacters in glob/fnmatch. 2012-11-17 17:38:11 +02: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
Ezio Melotti
4a42ec5089 Merge updates about dir() with 3.2. 2012-11-17 12:54:45 +02:00
Ezio Melotti
52e855084d Update section about dir() in the tutorial. 2012-11-17 12:50:14 +02:00
Ezio Melotti
0bbfae3be4 Merge rephrasing with 3.2. 2012-11-17 12:06:26 +02:00
Ezio Melotti
89b03b0ec6 Rephrase a sentence in the set and dict comprehensions tutorial page. 2012-11-17 12:06:01 +02: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
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
Richard Oudkerk
021f4c2ecc Issue #16481: multiprocessing no longer leaks process handles on Windows. 2012-11-15 18:16:35 +00:00
Andrew Svetlov
e2cf03e499 Issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:21 +02: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
Chris Jerdonek
251269ccc8 Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400). 2012-11-14 12:24:21 -08:00
Chris Jerdonek
f9e49eaefc Update the description of which package versions PyPI displays (issue #16400). 2012-11-14 12:12:30 -08:00
Vinay Sajip
87ed599b8a Issue #16378: Updated docstrings to reflect the defaults present in the code. 2012-11-14 11:18:35 +00: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
Benjamin Peterson
2a0e226131 recompile importlib.h 2012-11-12 17:02:32 -05:00
Benjamin Peterson
debf64ce2b missing letter 2012-11-12 16:48:17 -05:00
Stefan Krah
6df5cae49a Issue #15835: Define PATH_MAX on HP-UX. 2012-11-12 20:14:36 +01: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
37bfa4e7ec Add a test for hashing of unaligned memory buffers (from issue #16427). 2012-11-11 20:10:48 +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
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
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
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
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
Gregory P. Smith
12489d98e6 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:37:02 -08:00
Gregory P. Smith
6893732c35 Remove the subprocess "bad exception data" warning (formerly a print!)
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".

This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
2012-11-11 00:04:52 -08:00