]>
granicus.if.org Git - python/log
Éric Araujo [Thu, 22 Nov 2012 05:13:49 +0000 (00:13 -0500)]
Address reviews for open’s opener argument doc patch (#13424).
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
Ezio Melotti [Wed, 21 Nov 2012 16:36:52 +0000 (18:36 +0200)]
Null merge with 3.2.
Ezio Melotti [Wed, 21 Nov 2012 16:36:08 +0000 (18:36 +0200)]
Remove unused variabile "plain" in builtin_exec.
Chris Jerdonek [Wed, 21 Nov 2012 13:34:26 +0000 (05:34 -0800)]
Null merge from 3.2.
Chris Jerdonek [Wed, 21 Nov 2012 13:32:44 +0000 (05:32 -0800)]
Fix label in docs (from issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:45:51 +0000 (17:45 -0800)]
Improve str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:44:02 +0000 (17:44 -0800)]
Null merge from 3.2 (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:31:02 +0000 (17:31 -0800)]
Improve str() and object.__str__() documentation (issue #13538).
Barry Warsaw [Tue, 20 Nov 2012 22:11:46 +0000 (17:11 -0500)]
null merge
Barry Warsaw [Tue, 20 Nov 2012 22:10:10 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.
Barry Warsaw [Tue, 20 Nov 2012 22:05:41 +0000 (17:05 -0500)]
Do a better job of ensuring test reproducibility and clean up.
Antoine Pitrou [Tue, 20 Nov 2012 21:35:53 +0000 (22:35 +0100)]
Merge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:30:42 +0000 (22:30 +0100)]
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
Barry Warsaw [Tue, 20 Nov 2012 20:22:51 +0000 (15:22 -0500)]
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
Andrew Svetlov [Tue, 20 Nov 2012 14:12:38 +0000 (16:12 +0200)]
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
Stefan Krah [Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)]
Ezio Melotti [Sun, 18 Nov 2012 21:15:47 +0000 (23:15 +0200)]
#7782: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:24 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
Ezio Melotti [Sun, 18 Nov 2012 12:02:08 +0000 (14:02 +0200)]
#16306: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 11:55:52 +0000 (13:55 +0200)]
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
Ezio Melotti [Sun, 18 Nov 2012 11:22:34 +0000 (13:22 +0200)]
#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:20:36 +0000 (13:20 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 10:56:17 +0000 (12:56 +0200)]
#16053: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict. Patch by Kushal Das.
Mark Dickinson [Sun, 18 Nov 2012 10:42:27 +0000 (10:42 +0000)]
Merge typo fix from 3.2.
Mark Dickinson [Sun, 18 Nov 2012 10:42:07 +0000 (10:42 +0000)]
Typo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:22:40 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.2
Mark Dickinson [Sun, 18 Nov 2012 10:22:05 +0000 (10:22 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.
Antoine Pitrou [Sat, 17 Nov 2012 22:52:05 +0000 (23:52 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 17 Nov 2012 22:50:08 +0000 (23:50 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 17 Nov 2012 22:28:17 +0000 (23:28 +0100)]
Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.
Ezio Melotti [Sat, 17 Nov 2012 17:29:12 +0000 (19:29 +0200)]
#16157: fix links in the whatsnew files.
Ezio Melotti [Sat, 17 Nov 2012 15:38:58 +0000 (17:38 +0200)]
#16420: merge with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.
Brett Cannon [Sat, 17 Nov 2012 14:30:55 +0000 (09:30 -0500)]
Issue #16489: Make it clearer that importlib.find_loader() requires
the user to import any parent packages.
Ezio Melotti [Sat, 17 Nov 2012 10:54:45 +0000 (12:54 +0200)]
Merge updates about dir() with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:50:14 +0000 (12:50 +0200)]
Update section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:06:26 +0000 (12:06 +0200)]
Merge rephrasing with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:06:01 +0000 (12:06 +0200)]
Rephrase a sentence in the set and dict comprehensions tutorial page.
Jesus Cea [Sat, 17 Nov 2012 02:42:41 +0000 (03:42 +0100)]
MERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
Jesus Cea [Sat, 17 Nov 2012 02:41:54 +0000 (03:41 +0100)]
Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
Ezio Melotti [Fri, 16 Nov 2012 11:17:42 +0000 (13:17 +0200)]
#16478: merge with 3.2.
Ezio Melotti [Fri, 16 Nov 2012 11:17:08 +0000 (13:17 +0200)]
#16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka.
Richard Oudkerk [Thu, 15 Nov 2012 18:16:35 +0000 (18:16 +0000)]
Issue #16481: multiprocessing no longer leaks process handles on Windows.
Andrew Svetlov [Thu, 15 Nov 2012 14:28:21 +0000 (16:28 +0200)]
Issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
Philip Jenvey [Wed, 14 Nov 2012 22:49:49 +0000 (14:49 -0800)]
merge 3.2
Philip Jenvey [Wed, 14 Nov 2012 22:37:24 +0000 (14:37 -0800)]
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
Chris Jerdonek [Wed, 14 Nov 2012 20:24:21 +0000 (12:24 -0800)]
Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:12:30 +0000 (12:12 -0800)]
Update the description of which package versions PyPI displays (issue #16400).
Vinay Sajip [Wed, 14 Nov 2012 11:18:35 +0000 (11:18 +0000)]
Issue #16378: Updated docstrings to reflect the defaults present in the code.
Philip Jenvey [Tue, 13 Nov 2012 20:27:56 +0000 (12:27 -0800)]
merge 3.2
Philip Jenvey [Tue, 13 Nov 2012 20:26:31 +0000 (12:26 -0800)]
add gc_collects to weakref tests
Benjamin Peterson [Mon, 12 Nov 2012 22:02:32 +0000 (17:02 -0500)]
recompile importlib.h
Benjamin Peterson [Mon, 12 Nov 2012 21:48:17 +0000 (16:48 -0500)]
missing letter
Stefan Krah [Mon, 12 Nov 2012 19:14:36 +0000 (20:14 +0100)]
Issue #15835: Define PATH_MAX on HP-UX.
Victor Stinner [Mon, 12 Nov 2012 00:23:15 +0000 (01:23 +0100)]
Issue #16218, #16444: Backport improvment on tests for non-ASCII characters
Antoine Pitrou [Sun, 11 Nov 2012 19:10:48 +0000 (20:10 +0100)]
Add a test for hashing of unaligned memory buffers (from issue #16427).
Antoine Pitrou [Sun, 11 Nov 2012 18:40:49 +0000 (19:40 +0100)]
Merge heads
Antoine Pitrou [Sun, 11 Nov 2012 18:40:38 +0000 (19:40 +0100)]
Merge heads
Antoine Pitrou [Sun, 11 Nov 2012 18:37:41 +0000 (19:37 +0100)]
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.
Antoine Pitrou [Sun, 11 Nov 2012 18:36:51 +0000 (19:36 +0100)]
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for ordering and hashing.
Gregory P. Smith [Sun, 11 Nov 2012 18:00:49 +0000 (10:00 -0800)]
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
Gregory P. Smith [Sun, 11 Nov 2012 17:59:27 +0000 (09:59 -0800)]
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
Nadeem Vawda [Sun, 11 Nov 2012 13:14:47 +0000 (14:14 +0100)]
Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
Nadeem Vawda [Sun, 11 Nov 2012 13:04:14 +0000 (14:04 +0100)]
Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
Gregory P. Smith [Sun, 11 Nov 2012 09:38:18 +0000 (01:38 -0800)]
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.
Gregory P. Smith [Sun, 11 Nov 2012 09:37:02 +0000 (01:37 -0800)]
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.
Gregory P. Smith [Sun, 11 Nov 2012 08:04:52 +0000 (00:04 -0800)]
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.
Gregory P. Smith [Sun, 11 Nov 2012 08:04:13 +0000 (00:04 -0800)]
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.
Gregory P. Smith [Sun, 11 Nov 2012 07:33:56 +0000 (23:33 -0800)]
Rename a local variable for readability and change a "this can't
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
Gregory P. Smith [Sun, 11 Nov 2012 07:33:17 +0000 (23:33 -0800)]
Rename a local variable for readability and change a "this can't
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
Gregory P. Smith [Sun, 11 Nov 2012 06:33:23 +0000 (22:33 -0800)]
Fixes issue #16327: The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.
Gregory P. Smith [Sun, 11 Nov 2012 06:32:22 +0000 (22:32 -0800)]
Fixes issue #16327: The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.
Gregory P. Smith [Sun, 11 Nov 2012 05:08:35 +0000 (21:08 -0800)]
null merge
Gregory P. Smith [Sun, 11 Nov 2012 05:07:04 +0000 (21:07 -0800)]
move note to the right section
Gregory P. Smith [Sun, 11 Nov 2012 05:06:18 +0000 (21:06 -0800)]
Fixes issue #14396: Handle the odd rare case of waitpid returning 0
when not expected in subprocess.Popen.wait().
Gregory P. Smith [Sun, 11 Nov 2012 04:52:29 +0000 (20:52 -0800)]
Fixes issue #14396: Handle the odd rare case of waitpid returning 0 when
not expected in subprocess.Popen.wait().
Gregory P. Smith [Sun, 11 Nov 2012 04:33:39 +0000 (20:33 -0800)]
Fixes issue #9535: Fix pending signals that have been received but not
yet handled by Python to not persist after os.fork() in the child process.
Gregory P. Smith [Sun, 11 Nov 2012 04:33:07 +0000 (20:33 -0800)]
Fixes issue #9535: Fix pending signals that have been received but not
yet handled by Python to not persist after os.fork() in the child process.
Nadeem Vawda [Sun, 11 Nov 2012 02:16:44 +0000 (03:16 +0100)]
Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 02:15:32 +0000 (03:15 +0100)]
Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 01:21:22 +0000 (02:21 +0100)]
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 01:14:36 +0000 (02:14 +0100)]
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 11 Nov 2012 00:27:33 +0000 (01:27 +0100)]
Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
Antoine Pitrou [Sun, 11 Nov 2012 00:25:36 +0000 (01:25 +0100)]
Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
Gregory P. Smith [Sat, 10 Nov 2012 23:12:55 +0000 (15:12 -0800)]
Fix test_urllib broken by my previous commits. The assumptions it was
testing were added as part of the issue10050 change that caused the
wrong behavior in the first place. now all test cases agree on the
behavior.
Stefan Krah [Sat, 10 Nov 2012 22:09:04 +0000 (23:09 +0100)]
Accept Unicode legacy strings in the Decimal constructor.
Gregory P. Smith [Sat, 10 Nov 2012 21:43:44 +0000 (13:43 -0800)]
Fixes issue #16409: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7. This matches the
behavior of urllib.request.URLopener.retrieve.
Chris Jerdonek [Sat, 10 Nov 2012 02:58:06 +0000 (18:58 -0800)]
Merge from 3.2: adjust set and frozenset function docs (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 02:57:32 +0000 (18:57 -0800)]
Link set and frozenset function docs to their class definitions (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 01:53:14 +0000 (17:53 -0800)]
Merge from 3.2: improve FAQ link in documentation (for issue #16435).
Chris Jerdonek [Sat, 10 Nov 2012 01:52:30 +0000 (17:52 -0800)]
Improve FAQ link in documentation (for issue #16435).
Ezio Melotti [Fri, 9 Nov 2012 10:51:03 +0000 (11:51 +0100)]
#13301: merge with 3.2.
Ezio Melotti [Fri, 9 Nov 2012 10:46:19 +0000 (11:46 +0100)]
#13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
Ezio Melotti [Thu, 8 Nov 2012 23:09:10 +0000 (01:09 +0200)]
#16440: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 23:08:25 +0000 (01:08 +0200)]
#16440: fix exception type and clarify example.
Andrew Svetlov [Thu, 8 Nov 2012 15:27:39 +0000 (17:27 +0200)]
Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
Andrew Svetlov [Thu, 8 Nov 2012 15:26:53 +0000 (17:26 +0200)]
Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.