]>
granicus.if.org Git - python/log
Gregory P. Smith [Sun, 11 Nov 2012 06:34:18 +0000 (22:34 -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: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:10:31 +0000 (21:10 -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 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:34:41 +0000 (20:34 -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: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:19:49 +0000 (03:19 +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: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:24:37 +0000 (02:24 +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: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:28:22 +0000 (01:28 +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: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:13:20 +0000 (15:13 -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.
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:31:22 +0000 (23:31 +0100)]
Merge 3.3.
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:44:50 +0000 (13:44 -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.
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.
Victor Stinner [Sat, 10 Nov 2012 21:32:08 +0000 (22:32 +0100)]
Issue #16444: disable undecodable characters in test_non_ascii() test until
the FreeBSD issue is fixed
Mark Dickinson [Sat, 10 Nov 2012 14:52:10 +0000 (14:52 +0000)]
Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length.
Victor Stinner [Sat, 10 Nov 2012 11:07:39 +0000 (12:07 +0100)]
Issue #16444, #16218: Use TESTFN_UNDECODABLE on UNIX
Check if data is decoded by os.fsdecode() (filesystem encoding with
surrogateescape error handler, PEP 383), not by UTF-8 or the filesystem
encoding in strict mode.
Use TESTFN_UNDECODABLE in test_cmd_line_script.test_non_ascii() on UNIX.
Chris Jerdonek [Sat, 10 Nov 2012 02:58:47 +0000 (18:58 -0800)]
Merge from 3.3: adjust set and frozenset function docs (issue #16436).
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:54:21 +0000 (17:54 -0800)]
Merge from 3.3: improve FAQ link in documentation (for issue #16435).
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:30 +0000 (11:51 +0100)]
#13301: merge with 3.3.
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:27 +0000 (01:09 +0200)]
#16440: merge with 3.3.
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:53 +0000 (17:27 +0200)]
Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
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.
Andrew Svetlov [Thu, 8 Nov 2012 14:11:44 +0000 (16:11 +0200)]
Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
Andrew Svetlov [Thu, 8 Nov 2012 14:11:22 +0000 (16:11 +0200)]
Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
Andrew Svetlov [Thu, 8 Nov 2012 14:10:49 +0000 (16:10 +0200)]
Issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
Stefan Krah [Thu, 8 Nov 2012 10:19:55 +0000 (11:19 +0100)]
Merge 3.3.
Stefan Krah [Thu, 8 Nov 2012 10:17:29 +0000 (11:17 +0100)]
Issue #16431: Finally, consider all permutations.
Ezio Melotti [Thu, 8 Nov 2012 09:09:28 +0000 (11:09 +0200)]
#16433: merge with 3.3.
Ezio Melotti [Thu, 8 Nov 2012 09:09:13 +0000 (11:09 +0200)]
#16433: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 09:08:39 +0000 (11:08 +0200)]
#16433: fix docstring of assertNotEqual.
Ezio Melotti [Thu, 8 Nov 2012 09:06:19 +0000 (11:06 +0200)]
#11481: merge with 3.3.
Ezio Melotti [Thu, 8 Nov 2012 09:06:01 +0000 (11:06 +0200)]
#11481: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 09:04:57 +0000 (11:04 +0200)]
#11481: update copyreg docs and add example.
Ezio Melotti [Thu, 8 Nov 2012 08:11:22 +0000 (10:11 +0200)]
Merge heads.
Ezio Melotti [Thu, 8 Nov 2012 08:09:24 +0000 (10:09 +0200)]
#10385: merge with 3.3.
Ezio Melotti [Thu, 8 Nov 2012 08:09:06 +0000 (10:09 +0200)]
#10385: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 08:07:10 +0000 (10:07 +0200)]
#10385: use the mod role in subprocess docs.
Stefan Krah [Wed, 7 Nov 2012 22:54:37 +0000 (23:54 +0100)]
Merge 3.3.
Stefan Krah [Wed, 7 Nov 2012 22:47:19 +0000 (23:47 +0100)]
Issue #16431: Also fix the opposite direction.
Stefan Krah [Wed, 7 Nov 2012 22:20:10 +0000 (23:20 +0100)]
Merge 3.3.
Stefan Krah [Wed, 7 Nov 2012 22:12:25 +0000 (23:12 +0100)]
Issue #16431: Use the type information when constructing a Decimal subtype
from a Decimal argument.
Hynek Schlawack [Wed, 7 Nov 2012 08:10:49 +0000 (09:10 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Hynek Schlawack [Wed, 7 Nov 2012 08:07:22 +0000 (09:07 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Hynek Schlawack [Wed, 7 Nov 2012 08:02:24 +0000 (09:02 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Victor Stinner [Tue, 6 Nov 2012 23:57:26 +0000 (00:57 +0100)]
Remove outdated comment
Victor Stinner [Tue, 6 Nov 2012 23:36:38 +0000 (00:36 +0100)]
Close #16311: Use the _PyUnicodeWriter API in text decoders
* Remove unicode_widen(): replaced with _PyUnicodeWriter_Prepare()
* Remove unicode_putchar(): replaced with
PyUnicodeWriter_Prepare() + PyUnicode_WRITER()
* When handling an decoding error, only overallocate the buffer by +25%
instead of +100%
Victor Stinner [Tue, 6 Nov 2012 23:10:14 +0000 (00:10 +0100)]
Issue #16414: Fix test_os on Windows, don't test os.listdir() with undecodable
With the ANSI code page 932, os.listdir(b'\xe7') return an empty list (instead
of failing), whereas os.listdir(b'\xff') raises a FileNotFoundError.
It looks like a Windows bug: b'\xe7' directory does not exist,
FindFirstFileA(b'\xe7') fails with ERROR_FILE_NOT_FOUND (2), instead of
ERROR_PATH_NOT_FOUND (3).
Stefan Krah [Tue, 6 Nov 2012 22:55:58 +0000 (23:55 +0100)]
Merge.
Stefan Krah [Tue, 6 Nov 2012 22:51:42 +0000 (23:51 +0100)]
Merge.
Victor Stinner [Tue, 6 Nov 2012 22:43:21 +0000 (23:43 +0100)]
Issue #16414: Test more characters for support.FS_NONASCII
It should increase the probability of finding a non-ASCII character on any
locale encoding.
Victor Stinner [Tue, 6 Nov 2012 22:40:22 +0000 (23:40 +0100)]
Issue #16414: Fix typo in support.TESTFN_NONASCII (useless space)
Stefan Krah [Tue, 6 Nov 2012 22:36:08 +0000 (23:36 +0100)]
Null merge.
Victor Stinner [Tue, 6 Nov 2012 22:33:46 +0000 (23:33 +0100)]
Issue #16414: Fix support.TESTFN_UNDECODABLE and test_genericpath.test_nonascii_abspath()
* support.TESTFN_UNDECODABLE was decodable if the filesystem encoding was
cp932
* test_genericpath.test_nonascii_abspath() didn't work on Windows if the
path was not decodable (ex: with cp932)
Stefan Krah [Tue, 6 Nov 2012 22:27:24 +0000 (23:27 +0100)]
Victor Stinner [Tue, 6 Nov 2012 22:23:43 +0000 (23:23 +0100)]
Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCII
These constants are used to test functions with non-ASCII data, especially
filenames.
Tim Golden [Tue, 6 Nov 2012 15:34:23 +0000 (15:34 +0000)]
Reversed changes from issue9584
Tim Golden [Tue, 6 Nov 2012 15:33:30 +0000 (15:33 +0000)]
Backed out changeset
dafca4714298
Tim Golden [Tue, 6 Nov 2012 15:32:50 +0000 (15:32 +0000)]
Backed out changeset
5cf6c427fd39
Tim Golden [Tue, 6 Nov 2012 13:55:42 +0000 (13:55 +0000)]
Correct mis-indented whitespace
Tim Golden [Tue, 6 Nov 2012 13:50:42 +0000 (13:50 +0000)]
issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon
Ezio Melotti [Mon, 5 Nov 2012 20:23:16 +0000 (22:23 +0200)]
Merge typo fix.
Ezio Melotti [Mon, 5 Nov 2012 20:22:48 +0000 (22:22 +0200)]
Fix typo noticed by Tom Lynn.
Nick Coghlan [Mon, 5 Nov 2012 11:33:22 +0000 (21:33 +1000)]
Merge #6717 crasher from 3.3
Nick Coghlan [Mon, 5 Nov 2012 11:32:11 +0000 (21:32 +1000)]
Merge #6717 crasher from 3.2
Nick Coghlan [Mon, 5 Nov 2012 11:26:57 +0000 (21:26 +1000)]
Record a known crasher from #6717
Nick Coghlan [Mon, 5 Nov 2012 10:40:57 +0000 (20:40 +1000)]
Merge from 3.3
Nick Coghlan [Mon, 5 Nov 2012 10:40:25 +0000 (20:40 +1000)]
The migration to importlib eliminated this crasher
If anyone finds another recursive C path that bypasses the recursion
limiting, they can add a new crasher example.
Andrew Svetlov [Mon, 5 Nov 2012 07:34:46 +0000 (09:34 +0200)]
Issue #15641: Clean up deprecated classes from importlib
Patch by Taras Lyapun.
Andrew Svetlov [Mon, 5 Nov 2012 07:28:42 +0000 (09:28 +0200)]
Revome extra .py suffix
Andrew Svetlov [Mon, 5 Nov 2012 06:20:15 +0000 (08:20 +0200)]
Issue #16218: Fix test for issue again
Victor Stinner [Mon, 5 Nov 2012 01:06:34 +0000 (02:06 +0100)]
(Merge 3.3) Close #15165: Fix test_email on Windows 64 bits
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
Victor Stinner [Mon, 5 Nov 2012 01:06:13 +0000 (02:06 +0100)]
Close #15165: Fix test_email on Windows 64 bits
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
Victor Stinner [Mon, 5 Nov 2012 00:28:28 +0000 (01:28 +0100)]
Issue #15478: Fix test_pep277 on Windows
os.listdir() now returns the original path in OSError.filename (on any
platform), even if "*.*" was added to the path (on Windows).
Victor Stinner [Mon, 5 Nov 2012 00:20:58 +0000 (01:20 +0100)]
Issue #15478: Oops, fix regression in os.open() on Windows
os.open() uses _wopen() which sets errno, not the Windows error code.
Nadeem Vawda [Sun, 4 Nov 2012 23:40:00 +0000 (00:40 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 4 Nov 2012 23:38:48 +0000 (00:38 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 4 Nov 2012 23:37:42 +0000 (00:37 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Victor Stinner [Sun, 4 Nov 2012 23:00:50 +0000 (00:00 +0100)]
(Merge 3.3) Issue #8271: Fix compilation on Windows