Commit Graph

19698 Commits

Author SHA1 Message Date
Antoine Pitrou
5604ef3e36 Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
2011-11-26 22:02:29 +01:00
Antoine Pitrou
d7c8fbf89e Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
2011-11-26 21:59:36 +01:00
Meador Inge
59ff2c5640 Issue #12618: fix py_compile unit tests to handle different drives on Windows 2011-11-26 11:39:49 -06:00
Meador Inge
fb36b3f6a0 Issue #12618: fix py_compile unit tests to handle different drives on Windows 2011-11-26 11:37:02 -06:00
Giampaolo Rodola'
6a5dcd4b2a sched.py: fix test_queue by making sure that queue property returns an orderd list of upcoming events 2011-11-26 12:17:42 +01:00
Charles-François Natali
2966f10ec0 Issue #13415: Skip test_os.test_unset_error on FreeBSD < 7 and OS X < 10.6
(where unsetenv() doesn't return a value).
2011-11-26 11:32:46 +01:00
Meador Inge
261a6d7c21 Issue #12618: create unit tests for the py_compile module 2011-11-25 23:40:53 -06:00
Meador Inge
6f16660ca7 Issue #12618: create unit tests for the py_compile module 2011-11-25 23:36:48 -06:00
Meador Inge
4bc45b7a9f Issue #13380: add an internal function for resetting the ctypes caches 2011-11-25 22:37:44 -06:00
Meador Inge
11e381310b Issue #13380: add an internal function for resetting the ctypes caches 2011-11-25 22:33:32 -06:00
Antoine Pitrou
4d098735c6 Some libcs' snprintf may output a leading minus sign when %p-formatting
(should fix a failure on the OpenIndiana AMD64 buildbot)
2011-11-26 01:42:03 +01:00
Victor Stinner
0fdfceb782 Issue #12567: The curses module uses Unicode functions for Unicode arguments
when it is linked to the ncurses library. It encodes also Unicode strings to
the locale encoding instead of UTF-8.
2011-11-25 22:10:02 +01:00
Antoine Pitrou
c24847658f Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
Patch by Brian Harring.
2011-11-25 21:29:27 +01:00
Antoine Pitrou
4558bad7d6 Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
Patch by Brian Harring.
2011-11-25 21:28:15 +01:00
Victor Stinner
6345be9a14 Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers
different than "strict" anymore. The caller was unable to compute the
size of the output buffer: it depends on the error handler.
2011-11-25 20:09:01 +01:00
Antoine Pitrou
86a36b500a PEP 3155 / issue #13448: Qualified name for classes and functions. 2011-11-25 18:56:07 +01:00
Antoine Pitrou
0e86a5842d Issue #9957: SpooledTemporaryFile.truncate() now accepts an optional size parameter, as other file-like objects.
Patch by Ryan Kelly.
2011-11-25 18:03:09 +01:00
Senthil Kumaran
5d036e1ccf merge from 3.2 testFnNames is assigned twice. 2011-11-25 02:09:24 +08:00
Senthil Kumaran
f27be5c60b testFnNames is assigned twice. 2011-11-25 02:08:39 +08:00
Giampaolo Rodola'
c8cf4dfa2f revert cset 6a0da9b65e54 against sched.py committed by accident 2011-11-23 00:03:15 +01:00
Victor Stinner
9329029ed7 (Merge 3.2) Issue #13436: Fix unsetenv() test on Windows 2011-11-22 22:32:28 +01:00
Victor Stinner
b3f8268031 Issue #13436: Fix unsetenv() test on Windows 2011-11-22 22:30:19 +01:00
Victor Stinner
cbbd562f00 Merge branch default 2011-11-22 22:23:23 +01:00
Victor Stinner
896f4714f4 Merge branch 3.2 2011-11-22 22:22:26 +01:00
Victor Stinner
65170954e0 (Merge 3.2) Issue #13415: os.unsetenv() doesn't ignore errors anymore. 2011-11-22 22:16:17 +01:00