Commit Graph

48850 Commits

Author SHA1 Message Date
Ezio Melotti af92842bf9 Use non-deprecated method name. 2011-04-20 21:56:21 +03:00
Jesus Cea 56fd326056 null merge 2011-04-20 20:54:05 +02:00
Jesus Cea 5ccd27841a merge 2011-04-20 20:51:59 +02:00
Jesus Cea c3ab577f34 merge 2011-04-20 20:51:09 +02:00
Jesus Cea 1a7206bdd3 null merge 2011-04-20 20:49:06 +02:00
Ezio Melotti 32f4db3175 Merge with 3.2. 2011-04-20 21:33:29 +03:00
Jesus Cea 7124f5f7e8 MERGE: Up-port changeset 5cf8f6da8743 (closes #11890) 2011-04-20 20:32:52 +02:00
Ezio Melotti 861d27f4cf Merge with 3.1. 2011-04-20 21:32:40 +03:00
Ezio Melotti e402724912 Fix wrong function name. Noticed by Clive Darke. 2011-04-20 21:29:31 +03:00
Jesus Cea 1d4ae84e53 Up-port changeset 5cf8f6da8743 (closes #11890) 2011-04-20 20:24:57 +02:00
Jesus Cea c1ceb64e41 MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:59:29 +02:00
Jesus Cea 6159ee3cf5 MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:42:50 +02:00
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:09:23 +02:00
Vinay Sajip 5e66b167ff Tidied comments and docstrings. 2011-04-20 15:41:14 +01:00
Vinay Sajip 5b9eecf8cf Attempt fix of #11557 by refining test logic. 2011-04-20 12:50:42 +01:00
Vinay Sajip 1e42f9e4c0 Attempt fix of #11557 by refining setup/teardown logic. 2011-04-20 12:20:44 +01:00
Vinay Sajip 95bf50416e Attempt fix of #11557 by changing setup/teardown logic. 2011-04-20 11:50:56 +01:00
Victor Stinner e07f522c7f Issue #11223: fix compiler warnings 2011-04-20 12:23:26 +02:00
Vinay Sajip 3def7e0f01 Attempt fix of #11557 by changing teardown logic. 2011-04-20 10:58:06 +01:00
Victor Stinner 783c82c701 Close #11619: write_compiled_module() doesn't encode the filename
Reimplement open_exclusive() using _wopen() to avoid encoding the filename to
the filesystem encoding: use the Unicode version of the Windows API.
2011-04-20 03:27:51 +02:00
Raymond Hettinger f48ac3001a Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:19:11 -07:00
Raymond Hettinger 25458f155a Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:17:51 -07:00
Raymond Hettinger d07eaf177c Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:17:23 -07:00
Victor Stinner 2d70e29998 Issue #11223: fix test_dummy_threading, add _dummy_thread.info() 2011-04-20 00:26:28 +02:00
Victor Stinner 754851f456 Issue #11223: Add threading._info() function providing informations about the
thread implementation.

Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Victor Stinner cf2a807831 faulthandler: don't use sigprocmask()
It has an undefined behaviour with threads, only use pthread_sigmask() if
it is available (and not broken).
2011-04-19 23:30:57 +02:00
Ezio Melotti 4571ee0b78 Merge with 3.2. 2011-04-19 23:24:32 +03:00
Ezio Melotti a947abec6a Merge with 3.1. 2011-04-19 23:23:47 +03:00
Ezio Melotti 8dfcab0885 Fix wrong number of functions noticed by Sandro Tosi. 2011-04-19 23:15:13 +03:00
Raymond Hettinger 0193f35d70 merge 2011-04-19 11:15:11 -07:00
Raymond Hettinger 111474452d merge 2011-04-19 11:12:47 -07:00
Raymond Hettinger f29f3ce794 merge 2011-04-19 11:11:20 -07:00
Raymond Hettinger 1cc986e4a7 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 11:10:43 -07:00
Raymond Hettinger 98c850a398 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 11:04:44 -07:00
Raymond Hettinger 35b873a7b2 merge 2011-04-19 10:23:04 -07:00
Raymond Hettinger 019a97c77c Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 10:21:27 -07:00
Raymond Hettinger ab69438046 Hmm, __ne__ was missing 2011-04-19 10:05:53 -07:00
Raymond Hettinger d08a2c2576 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 10:05:03 -07:00
Vinay Sajip 64e564b8f5 Merged documentation fix from 3.2. 2011-04-19 13:58:49 +01:00
Vinay Sajip f97255fd7c Updated documentation on fileConfig(). 2011-04-19 13:56:39 +01:00
Giampaolo Rodola' ff1a73590d os.sendfile(): on Linux if offset parameter is passed as NULL we were erroneously returning a (bytes_sent, None) tuple instead of bytes_sent 2011-04-19 09:47:16 +02:00
Georg Brandl e8d2d2d2b2 Add new email.policy document to the toctree and fix markup glitch. 2011-04-19 09:21:00 +02:00
Nadeem Vawda d7d01cd80c Merge test_startfile fix from 3.2. 2011-04-19 01:41:28 +02:00
Nadeem Vawda cc3f029380 Merge test_startfile fix from 3.1. 2011-04-19 01:40:45 +02:00
Nadeem Vawda 58de6ee871 Fix sporadic failure in test_startfile.
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:38:47 +02:00
R David Murray 6a45d3b6ae Markup and text fixes from Georg Brandl's review. 2011-04-18 16:00:47 -04:00
R David Murray 1f056b248a Merge: Fix markup. 2011-04-18 15:55:45 -04:00
R David Murray 530cc09796 Fix markup. 2011-04-18 15:54:58 -04:00
R David Murray 3edd22ac95 #11731: simplify/enhance parser/generator API by introducing policy objects.
This new interface will also allow for future planned enhancements
in control over the parser/generator without requiring any additional
complexity in the parser/generator API.

Patch reviewed by Éric Araujo and Barry Warsaw.
2011-04-18 13:59:37 -04:00
Victor Stinner ce16be91dc (Merge 3.2) Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
2011-04-18 16:30:17 +02:00