Commit Graph

49379 Commits

Author SHA1 Message Date
Alexis Metaireau c17c6d95cf Add a reference to the PEP 398 for python 3.3 release schedule 2011-05-04 17:58:00 +01:00
Ezio Melotti 2c173bad9d #11985: merge with 3.2. 2011-05-04 18:39:59 +03:00
Ezio Melotti e548f5a001 #11985: merge with 3.1. 2011-05-04 18:39:29 +03:00
Ezio Melotti f16898bc80 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Alexander Belopolsky 6d3c9a6893 Mention that timezone is a subclass of tzinfo. 2011-05-04 10:28:26 -04:00
Victor Stinner 4e86d5b88d Replace open(filename, 'rU') by open(filename, 'r')
The U flag is no more used (but still accepted for backward compatibility).
2011-05-04 13:55:36 +02:00
Victor Stinner 35b300c5fd Issue #8407: signal.pthread_sigmask() returns a set instead of a list
Update the doc. Refactor also related tests.
2011-05-04 13:20:35 +02:00
Victor Stinner 6fd49e152a Issue #11998, issue #8407: workaround _tkinter issue in test_signal
The _tkinter module loads the Tcl library which creates a thread waiting events
in select(). This thread receives signals blocked by all other threads. We
cannot test blocked signals if the _tkinter module is loaded.
2011-05-04 12:38:03 +02:00
Victor Stinner 55b5fa76a7 regrtest: dump all threads on a crash, not only the current thread 2011-05-04 11:02:12 +02:00
Brian Curtin afd01172f9 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:58:32 -05:00
Brian Curtin 03b8d4e47b Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin 308053ee11 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Mark Dickinson 5bc7a44477 test_math.py: Use correct signs on zeros for expected fmod results. 2011-05-03 21:13:40 +01:00
Mark Dickinson 0cc28b7a34 Remove an unused import and an unused local definition from test_math.py. 2011-05-03 21:02:51 +01:00
Raymond Hettinger e7a2430dde Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 2011-05-03 11:16:36 -07:00
Raymond Hettinger 003be52932 Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 2011-05-03 11:01:32 -07:00
Ezio Melotti 4e787aeed6 #11985: merge with 3.2. 2011-05-03 20:44:26 +03:00
Ezio Melotti 5098d44354 #11985: merge with 3.1. 2011-05-03 20:43:48 +03:00
Ezio Melotti b351bcca23 #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Antoine Pitrou 6f26be09e0 Issue #11849: Make it more likely for the system allocator to release
free()d memory arenas on glibc-based systems.  Patch by Charles-François
Natali.
2011-05-03 18:18:59 +02:00
Victor Stinner f44ce8748d Issue #8407: disable faulthandler timeout thread on all platforms
The problem is not specific to Mac OS X.
2011-05-03 17:20:31 +02:00
Antoine Pitrou 441f935228 Fix typo in name of private function 2011-05-03 16:35:43 +02:00
Antoine Pitrou b87a56a519 Fix typo in name of private function 2011-05-03 16:34:42 +02:00
Victor Stinner d0e516db50 Issue #8407: pthread_sigmask() checks immediatly if signal handlers have been
called. The test checks that SIG_UNBLOCK calls immediatly the signal handler of
the pending SIGUSR1. Improve also the tests using an exception (division by
zero) instead of a flag (a function attribute).
2011-05-03 14:57:12 +02:00
Victor Stinner 2d4a91e0d0 Issue #8407: Fix pthread_sigmask() tests on Mac OS X
Disable faulthandler timeout thread on Mac OS X: it interacts with
pthread_sigmask() tests.
2011-05-03 14:11:22 +02:00
Brian Curtin 49a40cd562 Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list. 2011-05-02 22:30:06 -05:00
Alexander Belopolsky 5611a1c326 Issue #11930: Added Misc/NEWS and versionchanged entries. 2011-05-02 14:14:48 -04:00
Raymond Hettinger 334fdeed2b merge 2011-05-02 11:03:37 -07:00
Raymond Hettinger a5ac2ce982 Backport 3.3 fixes and cleans ups. 2011-05-02 11:02:13 -07:00
Alexander Belopolsky 4409493d73 Relax %Y test. 2011-05-02 13:48:09 -04:00
Alexander Belopolsky 66746cb222 Removed unused variable 2011-05-02 13:44:20 -04:00
Alexander Belopolsky 89da349b7b Issue #11930: Remove year >= 1000 limitation from datetime.strftime.
Patch by Victor Stinner.
2011-05-02 13:14:24 -04:00
Raymond Hettinger 9d8c3b7cef dummy merge 2011-05-02 09:53:36 -07:00
Raymond Hettinger 81b9656989 Backport code cleanup for namedtuples. 2011-05-02 09:50:15 -07:00
Alexander Belopolsky 09a98a99cd merge 2011-05-02 12:31:17 -04:00
Alexander Belopolsky 03163ac185 Issue #11930: Remove deprecated time.accept2dyear. 2011-05-02 12:20:52 -04:00
Victor Stinner 72c53b5dcc cleanup signalmodule.c: use PyModule_AddIntMacro() 2011-05-02 16:15:43 +02:00
Victor Stinner 59bec36b1c (Merge 3.2) logging: don't define QueueListener if Python has no thread support 2011-05-02 16:14:16 +02:00
Victor Stinner cafa2efedb logging: don't define QueueListener if Python has no thread support 2011-05-02 16:11:28 +02:00
Vinay Sajip 714b8dc501 Improved thread interlocks in tests. 2011-05-02 14:43:00 +01:00
Vinay Sajip 314b92b26e Updated docstrings. 2011-05-02 14:31:16 +01:00
R David Murray 477a6eb4a2 Merge: I was right, hardconding the localhost IP doesn't work in linux-vserver. 2011-05-02 08:48:00 -04:00
R David Murray b912c5a004 I was right, hardconding the localhost IP doesn't work in linux-vserver. 2011-05-02 08:47:24 -04:00
Vinay Sajip 2265cf4c2e Merge. 2011-05-02 13:18:21 +01:00
Vinay Sajip 7367d08838 Added tests to improve coverage. 2011-05-02 13:17:27 +01:00
Éric Araujo f95f18048d Merge 3.2 2011-05-02 13:33:14 +02:00
Éric Araujo 38cfe89665 Merge 3.1 2011-05-02 13:12:23 +02:00
Éric Araujo cd6756d2ae Branch merge 2011-05-02 13:10:36 +02:00
Éric Araujo b79c234e1a Add missing colon 2011-05-02 13:10:18 +02:00
Benjamin Peterson 0255973af6 merge 3.2 2011-05-01 20:24:59 -05:00