]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 20 Apr 2011 10:23:26 +0000 (12:23 +0200)]
Issue #11223: fix compiler warnings
Vinay Sajip [Wed, 20 Apr 2011 09:58:06 +0000 (10:58 +0100)]
Attempt fix of #11557 by changing teardown logic.
Victor Stinner [Wed, 20 Apr 2011 01:27:51 +0000 (03:27 +0200)]
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.
Raymond Hettinger [Wed, 20 Apr 2011 00:19:11 +0000 (17:19 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Wed, 20 Apr 2011 00:17:51 +0000 (17:17 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Raymond Hettinger [Wed, 20 Apr 2011 00:17:23 +0000 (17:17 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Victor Stinner [Tue, 19 Apr 2011 22:26:28 +0000 (00:26 +0200)]
Issue #11223: fix test_dummy_threading, add _dummy_thread.info()
Victor Stinner [Tue, 19 Apr 2011 21:58:51 +0000 (23:58 +0200)]
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).
Victor Stinner [Tue, 19 Apr 2011 21:30:57 +0000 (23:30 +0200)]
faulthandler: don't use sigprocmask()
It has an undefined behaviour with threads, only use pthread_sigmask() if
it is available (and not broken).
Ezio Melotti [Tue, 19 Apr 2011 20:24:32 +0000 (23:24 +0300)]
Merge with 3.2.
Ezio Melotti [Tue, 19 Apr 2011 20:23:47 +0000 (23:23 +0300)]
Merge with 3.1.
Ezio Melotti [Tue, 19 Apr 2011 20:15:13 +0000 (23:15 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.
Raymond Hettinger [Tue, 19 Apr 2011 18:15:11 +0000 (11:15 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:12:47 +0000 (11:12 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:11:20 +0000 (11:11 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 18:10:43 +0000 (11:10 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 18:04:44 +0000 (11:04 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:23:04 +0000 (10:23 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 17:21:27 +0000 (10:21 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:05:53 +0000 (10:05 -0700)]
Hmm, __ne__ was missing
Raymond Hettinger [Tue, 19 Apr 2011 17:05:03 +0000 (10:05 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Vinay Sajip [Tue, 19 Apr 2011 12:58:49 +0000 (13:58 +0100)]
Merged documentation fix from 3.2.
Vinay Sajip [Tue, 19 Apr 2011 12:56:39 +0000 (13:56 +0100)]
Updated documentation on fileConfig().
Giampaolo Rodola' [Tue, 19 Apr 2011 07:47:16 +0000 (09:47 +0200)]
os.sendfile(): on Linux if offset parameter is passed as NULL we were erroneously returning a (bytes_sent, None) tuple instead of bytes_sent
Georg Brandl [Tue, 19 Apr 2011 07:21:00 +0000 (09:21 +0200)]
Add new email.policy document to the toctree and fix markup glitch.
Nadeem Vawda [Mon, 18 Apr 2011 23:41:28 +0000 (01:41 +0200)]
Merge test_startfile fix from 3.2.
Nadeem Vawda [Mon, 18 Apr 2011 23:40:45 +0000 (01:40 +0200)]
Merge test_startfile fix from 3.1.
Nadeem Vawda [Mon, 18 Apr 2011 23:38:47 +0000 (01:38 +0200)]
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.
R David Murray [Mon, 18 Apr 2011 20:00:47 +0000 (16:00 -0400)]
Markup and text fixes from Georg Brandl's review.
R David Murray [Mon, 18 Apr 2011 19:55:45 +0000 (15:55 -0400)]
Merge: Fix markup.
R David Murray [Mon, 18 Apr 2011 19:54:58 +0000 (15:54 -0400)]
Fix markup.
R David Murray [Mon, 18 Apr 2011 17:59:37 +0000 (13:59 -0400)]
#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.
Victor Stinner [Mon, 18 Apr 2011 14:30:17 +0000 (16:30 +0200)]
(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.
Victor Stinner [Mon, 18 Apr 2011 14:28:39 +0000 (16:28 +0200)]
(Merge 3.1) 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.
Victor Stinner [Mon, 18 Apr 2011 14:25:56 +0000 (16:25 +0200)]
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.
R David Murray [Mon, 18 Apr 2011 14:11:06 +0000 (10:11 -0400)]
Merge: #11492: rewrite header folding algorithm. Less code, more passing tests.
R David Murray [Mon, 18 Apr 2011 14:04:34 +0000 (10:04 -0400)]
#11492: rewrite header folding algorithm. Less code, more passing tests.
Ezio Melotti [Mon, 18 Apr 2011 07:14:49 +0000 (10:14 +0300)]
#11865: Merge with 3.2.
Ezio Melotti [Mon, 18 Apr 2011 07:14:13 +0000 (10:14 +0300)]
#11865: Merge with 3.1.
Ezio Melotti [Mon, 18 Apr 2011 07:11:21 +0000 (10:11 +0300)]
#11865: fix typo in init.rst.
Raymond Hettinger [Mon, 18 Apr 2011 02:49:58 +0000 (19:49 -0700)]
merge
Raymond Hettinger [Mon, 18 Apr 2011 02:49:29 +0000 (19:49 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Raymond Hettinger [Mon, 18 Apr 2011 02:47:24 +0000 (19:47 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Raymond Hettinger [Mon, 18 Apr 2011 02:46:46 +0000 (19:46 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Ezio Melotti [Sat, 16 Apr 2011 20:14:40 +0000 (23:14 +0300)]
Merge with 3.2.
Ezio Melotti [Sat, 16 Apr 2011 20:13:50 +0000 (23:13 +0300)]
Fix a few more hyphens in argparse.rst
Antoine Pitrou [Sat, 16 Apr 2011 19:02:38 +0000 (21:02 +0200)]
Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.
Antoine Pitrou [Sat, 16 Apr 2011 19:02:01 +0000 (21:02 +0200)]
Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.
Antoine Pitrou [Sat, 16 Apr 2011 16:55:16 +0000 (18:55 +0200)]
Merge from 3.2
Antoine Pitrou [Sat, 16 Apr 2011 16:53:59 +0000 (18:53 +0200)]
Fix possible "file already exists" error when running the tests in parallel.
This is a perfect example of LBYL going wrong: that code could be executed
by several workers in parallel, and os.mkdir() attempted on the same
path by multiple processes.
Georg Brandl [Sat, 16 Apr 2011 15:07:06 +0000 (17:07 +0200)]
Merge with 3.2.
Georg Brandl [Sat, 16 Apr 2011 15:02:58 +0000 (17:02 +0200)]
Fix duplicate "is".
Georg Brandl [Sat, 16 Apr 2011 14:59:48 +0000 (16:59 +0200)]
Merge with 3.2
Georg Brandl [Sat, 16 Apr 2011 14:59:32 +0000 (16:59 +0200)]
Merge with 3.1
Georg Brandl [Sat, 16 Apr 2011 14:54:15 +0000 (16:54 +0200)]
Small wording fix.
Georg Brandl [Sat, 16 Apr 2011 14:44:54 +0000 (16:44 +0200)]
Consistency fix: "command line" is the noun, "command-line" the adjective.
Georg Brandl [Sat, 16 Apr 2011 15:05:30 +0000 (17:05 +0200)]
Georg Brandl [Sat, 16 Apr 2011 14:44:54 +0000 (16:44 +0200)]
Consistency fix: "command line" is the noun, "command-line" the adjective.
R David Murray [Sat, 16 Apr 2011 13:21:49 +0000 (09:21 -0400)]
Merge: Improve message.py test coverage to 100%.
coverage.py reports 99% on branch coverage, but that appears to be
a bug or limitation in coverage.py.
R David Murray [Sat, 16 Apr 2011 13:20:30 +0000 (09:20 -0400)]
Improve message.py test coverage to 100%.
coverage.py reports 99% on branch coverage, but that appears to be
a bug or limitation in coverage.py.
Eli Bendersky [Sat, 16 Apr 2011 12:36:26 +0000 (15:36 +0300)]
Issue #11855: merge from 3.2
Eli Bendersky [Sat, 16 Apr 2011 12:34:29 +0000 (15:34 +0300)]
Issue #11855: merge from 3.1
Eli Bendersky [Sat, 16 Apr 2011 12:32:13 +0000 (15:32 +0300)]
Issue #11855: Apply missing formatting for urlretrieve
Raymond Hettinger [Sat, 16 Apr 2011 00:44:30 +0000 (17:44 -0700)]
merge
Raymond Hettinger [Sat, 16 Apr 2011 00:43:57 +0000 (17:43 -0700)]
merge
Raymond Hettinger [Sat, 16 Apr 2011 00:43:19 +0000 (17:43 -0700)]
Add another example to the collections module docs.
Vinay Sajip [Fri, 15 Apr 2011 21:29:15 +0000 (22:29 +0100)]
Issue #11852: Merge fix from 3.2.
Vinay Sajip [Fri, 15 Apr 2011 21:27:17 +0000 (22:27 +0100)]
Issue #11852: Add missing imports and update tests.
Raymond Hettinger [Fri, 15 Apr 2011 20:23:01 +0000 (13:23 -0700)]
Fix minor subclassing issue with collections.Counter
Raymond Hettinger [Fri, 15 Apr 2011 20:21:30 +0000 (13:21 -0700)]
Fix minor subclassing issue with collections.Counter
Raymond Hettinger [Fri, 15 Apr 2011 20:16:46 +0000 (13:16 -0700)]
Fix minor subclassing issue with collections.Counter
R David Murray [Fri, 15 Apr 2011 18:55:04 +0000 (14:55 -0400)]
Remove unused method from internal class.
Ezio Melotti [Fri, 15 Apr 2011 15:08:09 +0000 (18:08 +0300)]
#11843: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 15:07:38 +0000 (18:07 +0300)]
#11843: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 15:05:09 +0000 (18:05 +0300)]
#11843: remove duplicate line from table in distutil doc.
Ezio Melotti [Fri, 15 Apr 2011 13:52:35 +0000 (16:52 +0300)]
#5057: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 13:50:41 +0000 (16:50 +0300)]
#5057: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 13:38:34 +0000 (16:38 +0300)]
Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]).
Senthil Kumaran [Fri, 15 Apr 2011 10:22:05 +0000 (18:22 +0800)]
merge from 3.2
Senthil Kumaran [Fri, 15 Apr 2011 10:21:26 +0000 (18:21 +0800)]
merge from 3.1
Senthil Kumaran [Fri, 15 Apr 2011 10:20:24 +0000 (18:20 +0800)]
Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits.
Ezio Melotti [Fri, 15 Apr 2011 05:27:37 +0000 (08:27 +0300)]
#11848: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 05:27:00 +0000 (08:27 +0300)]
#11848: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 05:25:16 +0000 (08:25 +0300)]
#11848: replace dead link in random.betavariate comment.
Ezio Melotti [Fri, 15 Apr 2011 05:19:32 +0000 (08:19 +0300)]
#11845: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 05:15:40 +0000 (08:15 +0300)]
#11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban.
Ezio Melotti [Fri, 15 Apr 2011 04:40:37 +0000 (07:40 +0300)]
#4783: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 04:39:08 +0000 (07:39 +0300)]
#4783: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 04:37:00 +0000 (07:37 +0300)]
#4783: document that is not possible to use json.dump twice on the same stream.
Eli Bendersky [Fri, 15 Apr 2011 04:29:31 +0000 (07:29 +0300)]
merge from 3.2
Eli Bendersky [Fri, 15 Apr 2011 04:26:28 +0000 (07:26 +0300)]
merge from 3.1
Eli Bendersky [Fri, 15 Apr 2011 04:23:26 +0000 (07:23 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess
Senthil Kumaran [Thu, 14 Apr 2011 05:20:41 +0000 (13:20 +0800)]
merge from 3.2.
Fix closes Issue1147.
Senthil Kumaran [Thu, 14 Apr 2011 05:18:55 +0000 (13:18 +0800)]
merge from 3.1
Senthil Kumaran [Thu, 14 Apr 2011 05:16:30 +0000 (13:16 +0800)]
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
Ezio Melotti [Thu, 14 Apr 2011 04:51:57 +0000 (07:51 +0300)]
#11840: Merge with 3.2.
Ezio Melotti [Thu, 14 Apr 2011 04:50:25 +0000 (07:50 +0300)]
#11840: Merge with 3.1.
Ezio Melotti [Thu, 14 Apr 2011 04:43:53 +0000 (07:43 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 03:49:28 +0000 (06:49 +0300)]
Dummy merge with 3.2.
Ezio Melotti [Thu, 14 Apr 2011 03:48:34 +0000 (06:48 +0300)]
Dummy merge with 3.1.