Commit graph

57949 commits

Author SHA1 Message Date
Gregory P. Smith
6f62b58134 move note to the right section 2012-11-10 21:07:04 -08:00
Gregory P. Smith
f328d79223 Fixes issue #14396: Handle the odd rare case of waitpid returning 0
when not expected in subprocess.Popen.wait().
2012-11-10 21:06:18 -08:00
Gregory P. Smith
2ec82331b2 Fixes issue #14396: Handle the odd rare case of waitpid returning 0 when
not expected in subprocess.Popen.wait().
2012-11-10 20:52:29 -08:00
Gregory P. Smith
0b83224c0d 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.
2012-11-10 20:34:41 -08:00
Gregory P. Smith
34b14951ee 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.
2012-11-10 20:33:39 -08:00
Gregory P. Smith
9463e3ac8b 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.
2012-11-10 20:33:07 -08:00
Nadeem Vawda
9c40022e38 Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
2012-11-11 03:19:49 +01:00
Nadeem Vawda
ec6dfcffa0 Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
2012-11-11 03:16:44 +01:00
Nadeem Vawda
7ee955550b Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
2012-11-11 03:15:32 +01:00
Nadeem Vawda
9ea64e38b5 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.
2012-11-11 02:24:37 +01:00
Nadeem Vawda
dd1253abdd 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.
2012-11-11 02:21:22 +01:00
Nadeem Vawda
ee7889dec3 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.
2012-11-11 02:14:36 +01:00
Antoine Pitrou
5fb7308318 Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
2012-11-11 01:28:22 +01:00
Antoine Pitrou
73e9bd4d25 Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
2012-11-11 01:27:33 +01:00
Antoine Pitrou
5c89b4ec55 Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
2012-11-11 01:25:36 +01:00
Gregory P. Smith
601c0591c2 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.
2012-11-10 15:13:20 -08:00
Gregory P. Smith
6d9388faab 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.
2012-11-10 15:12:55 -08:00
Stefan Krah
b8f09d3791 Merge 3.3. 2012-11-10 23:31:22 +01:00
Stefan Krah
6e467049c6 Accept Unicode legacy strings in the Decimal constructor. 2012-11-10 23:09:04 +01:00
Gregory P. Smith
b696610c2d 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.
2012-11-10 13:44:50 -08:00
Gregory P. Smith
6b0bdab429 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.
2012-11-10 13:43:44 -08:00
Victor Stinner
e2c574fbe5 Issue #16444: disable undecodable characters in test_non_ascii() test until
the FreeBSD issue is fixed
2012-11-10 22:32:08 +01:00
Mark Dickinson
c8a6967ea8 Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length. 2012-11-10 14:52:10 +00:00
Victor Stinner
ff3d515952 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.
2012-11-10 12:07:39 +01:00
Chris Jerdonek
ef3971d3e5 Merge from 3.3: adjust set and frozenset function docs (issue #16436). 2012-11-09 18:58:47 -08:00
Chris Jerdonek
296c2fd065 Merge from 3.2: adjust set and frozenset function docs (issue #16436). 2012-11-09 18:58:06 -08:00
Chris Jerdonek
df3abec2c9 Link set and frozenset function docs to their class definitions (issue #16436). 2012-11-09 18:57:32 -08:00
Chris Jerdonek
86b3053411 Merge from 3.3: improve FAQ link in documentation (for issue #16435). 2012-11-09 17:54:21 -08:00
Chris Jerdonek
fe08756743 Merge from 3.2: improve FAQ link in documentation (for issue #16435). 2012-11-09 17:53:14 -08:00
Chris Jerdonek
4ed4b1c7fe Improve FAQ link in documentation (for issue #16435). 2012-11-09 17:52:30 -08:00
Ezio Melotti
90378b4807 #13301: merge with 3.3. 2012-11-09 11:51:30 +01:00
Ezio Melotti
956c6c2dab #13301: merge with 3.2. 2012-11-09 11:51:03 +01:00
Ezio Melotti
9bf379e9fb #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka. 2012-11-09 11:46:19 +01:00
Ezio Melotti
dc945e4943 #16440: merge with 3.3. 2012-11-09 01:09:27 +02:00
Ezio Melotti
a3ad8a0ce7 #16440: merge with 3.2. 2012-11-09 01:09:10 +02:00
Ezio Melotti
8b6b176b33 #16440: fix exception type and clarify example. 2012-11-09 01:08:25 +02:00
Andrew Svetlov
fba5dc1800 Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:27:53 +02:00
Andrew Svetlov
7cac2d8368 Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:27:39 +02:00
Andrew Svetlov
5c90436d64 Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:26:53 +02:00
Andrew Svetlov
73b56c8d57 Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:44 +02:00
Andrew Svetlov
b5570e9909 Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:22 +02:00
Andrew Svetlov
0e9a065275 Issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:10:49 +02:00
Stefan Krah
4cb103ee39 Merge 3.3. 2012-11-08 11:19:55 +01:00
Stefan Krah
0f82b76b57 Issue #16431: Finally, consider all permutations. 2012-11-08 11:17:29 +01:00
Ezio Melotti
dee9043423 #16433: merge with 3.3. 2012-11-08 11:09:28 +02:00
Ezio Melotti
9cfa1ff891 #16433: merge with 3.2. 2012-11-08 11:09:13 +02:00
Ezio Melotti
90eea97a33 #16433: fix docstring of assertNotEqual. 2012-11-08 11:08:39 +02:00
Ezio Melotti
770a5bc9cd #11481: merge with 3.3. 2012-11-08 11:06:19 +02:00
Ezio Melotti
b77dc4ec5f #11481: merge with 3.2. 2012-11-08 11:06:01 +02:00
Ezio Melotti
78b18d4b4c #11481: update copyreg docs and add example. 2012-11-08 11:04:57 +02:00