Commit Graph

53486 Commits

Author SHA1 Message Date
Sandro Tosi cd8991255c Issue #13835: fixes to What's new 3.3; patch by July Tikhonov 2012-01-22 12:16:04 +01:00
Gregory P. Smith 0648458b84 Fix a unittest error seen on NetBSD 5. 2012-01-21 22:06:09 -08:00
Gregory P. Smith 886455cc4e Fix a unittest error seen on NetBSD 5. 2012-01-21 22:05:10 -08:00
Gregory P. Smith 08c1278ab8 Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix. 2012-01-21 21:06:22 -08:00
Gregory P. Smith 4842efcf97 Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix. 2012-01-21 21:01:24 -08:00
Gregory P. Smith 1577cf758b Improve the test for dirfd(). Some systems #define it rather than
have it as a library function.
2012-01-21 18:21:56 -08:00
Gregory P. Smith df300d5062 Improve the test for dirfd(), some systems #define it rather than have
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith d45382db0b bugfix for *BSD platforms. (oops messed up #define) 2012-01-21 15:20:37 -08:00
Gregory P. Smith 61f0da8c02 bugfix for issue 8052 fixes on *BSD platforms. 2012-01-21 15:20:08 -08:00
Gregory P. Smith e9b7cab1da Another issue #8052 bugfix (related to previous commit).
"oops" while rearranging the #defines.
2012-01-21 15:19:11 -08:00
Gregory P. Smith e3f7848bc5 Bugfix for issue #8052 fix on *BSD variants.
Many lack readdir64, use readdir.  Only use readdir64 on solaris where
it is required to work around a solaris bug.
2012-01-21 15:16:17 -08:00
Gregory P. Smith 33b24f7e7c A Misc/NEWS entry for issue 8052. 2012-01-21 14:50:56 -08:00
Gregory P. Smith 9564e4cbf8 Add a Misc/NEWS entry for issue 8052. 2012-01-21 14:50:11 -08:00
Gregory P. Smith d635af5a61 Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
Gregory P. Smith 8facece99a Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().

It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith e961bd4934 Avoid the compiler warning about the unused return value. 2012-01-21 12:51:30 -08:00
Gregory P. Smith 12fdca59bb Avoid the compiler warning about the unused return value. 2012-01-21 12:31:25 -08:00
Antoine Pitrou 1fde8a36ef Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods. 2012-01-21 20:22:40 +01:00
Antoine Pitrou f49d152ab2 Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods. 2012-01-21 20:20:49 +01:00
Victor Stinner a4ac600d6f Issue #13706: Support non-ASCII fill characters 2012-01-21 15:50:49 +01:00
Sandro Tosi a2a9071754 merge with 3.2 2012-01-21 11:00:03 +01:00
Sandro Tosi 41b2404dab fix typo; thanks to Justin Watt from docs@ 2012-01-21 10:59:37 +01:00
Senthil Kumaran 3242577a08 merge from 3.2 2012-01-21 11:55:40 +08:00
Senthil Kumaran 3800ea9f65 Fix Issue6631 - Disallow relative file paths in urllib urlopen 2012-01-21 11:52:48 +08:00
Benjamin Peterson 77fc1f3c06 add another test case 2012-01-20 11:01:06 -05:00
Łukasz Langa d6d2cd2632 phony merge of 76077971ee1f from 3.2 2012-01-20 15:55:27 +01:00
Łukasz Langa 002890861f #13760: picklability tests for configparser exceptions 2012-01-20 15:53:10 +01:00
Łukasz Langa e7851956de #13760: picklability tests for configparser exceptions 2012-01-20 14:57:55 +01:00
Vinay Sajip 5d116b758a Closes #13807: Merged fix from 3.2. 2012-01-20 11:31:46 +00:00
Vinay Sajip 315a62befc Closes #13807: Merged fix from 3.1. 2012-01-20 11:27:36 +00:00
Vinay Sajip 889bb2969d Closes #13807: Now checks for sys.stderr being there before writing to it. 2012-01-20 11:23:02 +00:00
Meador Inge 2396c0a28f Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function. 2012-01-19 22:24:55 -06:00
Meador Inge a3443d985e Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function. 2012-01-19 22:06:31 -06:00
Victor Stinner 2dd254d17a Issue #10278: Be more explicit in tests than wallclock() is monotonic (cannot
go backward)
2012-01-20 02:24:18 +01:00
Eric V. Smith d25cfe66f5 Improve exception text. Closes issue 13811. 2012-01-19 20:04:28 -05:00
Benjamin Peterson cff9237d57 check after comments, too (#13832) 2012-01-19 17:46:13 -05:00
Sandro Tosi 6a7b855a97 Issue #13605: merge with 3.2 2012-01-19 22:23:17 +01:00
Sandro Tosi da8e11ac71 Issue #13605: more meaningful example + fixes 2012-01-19 22:23:00 +01:00
Sandro Tosi 83d32c9135 Issue #13605: merge with 3.2 2012-01-19 22:00:21 +01:00
Sandro Tosi 16bd0b4463 Issue #13605: add documentation for nargs=argparse.REMAINDER 2012-01-19 21:59:55 +01:00
Benjamin Peterson 188bee5873 don't leak node 2012-01-19 08:48:18 -05:00
Benjamin Peterson 79c1f96438 only check this when parsing python 2012-01-19 08:48:11 -05:00
Sandro Tosi 82138b8a84 Issue #11948: merge with 3.2 2012-01-19 11:29:48 +01:00
Sandro Tosi f0229aa51c Issue #11948: clarify modules search path 2012-01-19 11:29:26 +01:00
Meador Inge fa21bf015d Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement 2012-01-19 01:08:41 -06:00
Meador Inge 00c7f85298 Issue #2134: Add support for tokenize.TokenInfo.exact_type. 2012-01-19 00:44:45 -06:00
Meador Inge 3f67ec1afd Null merge 2012-01-19 00:34:21 -06:00
Meador Inge 972cfb9169 Issue #2134: Clarify token.OP handling rationale in tokenize documentation. 2012-01-19 00:22:22 -06:00
Benjamin Peterson 94303549c4 improve casefold/lower/upper docs 2012-01-18 23:09:32 -05:00
Antoine Pitrou 391166fbfc Be more lenient in test_wallclock (issue #10278). 2012-01-18 22:35:21 +01:00