]> granicus.if.org Git - python/log
python
14 years agoIssue #11223: fix test_dummy_threading, add _dummy_thread.info()
Victor Stinner [Tue, 19 Apr 2011 22:26:28 +0000 (00:26 +0200)]
Issue #11223: fix test_dummy_threading, add _dummy_thread.info()

14 years agoIssue #11223: Add threading._info() function providing informations about the
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).

14 years agofaulthandler: don't use sigprocmask()
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).

14 years agoMerge with 3.2.
Ezio Melotti [Tue, 19 Apr 2011 20:24:32 +0000 (23:24 +0300)]
Merge with 3.2.

14 years agoMerge with 3.1.
Ezio Melotti [Tue, 19 Apr 2011 20:23:47 +0000 (23:23 +0300)]
Merge with 3.1.

14 years agoFix wrong number of functions noticed by Sandro Tosi.
Ezio Melotti [Tue, 19 Apr 2011 20:15:13 +0000 (23:15 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.

14 years agomerge
Raymond Hettinger [Tue, 19 Apr 2011 18:15:11 +0000 (11:15 -0700)]
merge

14 years agomerge
Raymond Hettinger [Tue, 19 Apr 2011 18:12:47 +0000 (11:12 -0700)]
merge

14 years agomerge
Raymond Hettinger [Tue, 19 Apr 2011 18:11:20 +0000 (11:11 -0700)]
merge

14 years agoIssue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 18:10:43 +0000 (11:10 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.

14 years agoIssue 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.

14 years agomerge
Raymond Hettinger [Tue, 19 Apr 2011 17:23:04 +0000 (10:23 -0700)]
merge

14 years agoIssue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:21:27 +0000 (10:21 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.

14 years agoHmm, __ne__ was missing
Raymond Hettinger [Tue, 19 Apr 2011 17:05:53 +0000 (10:05 -0700)]
Hmm, __ne__ was missing

14 years agoIssue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Raymond Hettinger [Tue, 19 Apr 2011 17:05:03 +0000 (10:05 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.

14 years agoMerged documentation fix from 3.2.
Vinay Sajip [Tue, 19 Apr 2011 12:58:49 +0000 (13:58 +0100)]
Merged documentation fix from 3.2.

14 years agoUpdated documentation on fileConfig().
Vinay Sajip [Tue, 19 Apr 2011 12:56:39 +0000 (13:56 +0100)]
Updated documentation on fileConfig().

14 years agoos.sendfile(): on Linux if offset parameter is passed as NULL we were erroneously...
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

14 years agoAdd new email.policy document to the toctree and fix markup glitch.
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.

14 years agoMerge test_startfile fix from 3.2.
Nadeem Vawda [Mon, 18 Apr 2011 23:41:28 +0000 (01:41 +0200)]
Merge test_startfile fix from 3.2.

14 years agoMerge test_startfile fix from 3.1.
Nadeem Vawda [Mon, 18 Apr 2011 23:40:45 +0000 (01:40 +0200)]
Merge test_startfile fix from 3.1.

14 years agoFix sporadic failure in test_startfile.
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.

14 years agoMarkup and text fixes from Georg Brandl's review.
R David Murray [Mon, 18 Apr 2011 20:00:47 +0000 (16:00 -0400)]
Markup and text fixes from Georg Brandl's review.

14 years agoMerge: Fix markup.
R David Murray [Mon, 18 Apr 2011 19:55:45 +0000 (15:55 -0400)]
Merge: Fix markup.

14 years agoFix markup.
R David Murray [Mon, 18 Apr 2011 19:54:58 +0000 (15:54 -0400)]
Fix markup.

14 years ago#11731: simplify/enhance parser/generator API by introducing policy objects.
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.

14 years ago(Merge 3.2) Issue #11768: The signal handler of the signal module only calls
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.

14 years ago(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
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.

14 years agoIssue #11768: The signal handler of the signal module only calls
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.

14 years agoMerge: #11492: rewrite header folding algorithm. Less code, more passing tests.
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.

14 years ago#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.

14 years ago#11865: Merge with 3.2.
Ezio Melotti [Mon, 18 Apr 2011 07:14:49 +0000 (10:14 +0300)]
#11865: Merge with 3.2.

14 years ago#11865: Merge with 3.1.
Ezio Melotti [Mon, 18 Apr 2011 07:14:13 +0000 (10:14 +0300)]
#11865: Merge with 3.1.

14 years ago#11865: fix typo in init.rst.
Ezio Melotti [Mon, 18 Apr 2011 07:11:21 +0000 (10:11 +0300)]
#11865: fix typo in init.rst.

14 years agomerge
Raymond Hettinger [Mon, 18 Apr 2011 02:49:58 +0000 (19:49 -0700)]
merge

14 years agoRework multiset methods to use less memory and to make fewer calls to __hash__.
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__.

14 years agoRework 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__.

14 years agoRework 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__.

14 years agoMerge with 3.2.
Ezio Melotti [Sat, 16 Apr 2011 20:14:40 +0000 (23:14 +0300)]
Merge with 3.2.

14 years agoFix a few more hyphens in argparse.rst
Ezio Melotti [Sat, 16 Apr 2011 20:13:50 +0000 (23:13 +0300)]
Fix a few more hyphens in argparse.rst

14 years agoIssue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.
Antoine Pitrou [Sat, 16 Apr 2011 19:02:38 +0000 (21:02 +0200)]
Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.

14 years agoIssue #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.

14 years agoMerge from 3.2
Antoine Pitrou [Sat, 16 Apr 2011 16:55:16 +0000 (18:55 +0200)]
Merge from 3.2

14 years agoFix possible "file already exists" error when running the tests in parallel.
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.

14 years agoMerge with 3.2.
Georg Brandl [Sat, 16 Apr 2011 15:07:06 +0000 (17:07 +0200)]
Merge with 3.2.

14 years agoFix duplicate "is".
Georg Brandl [Sat, 16 Apr 2011 15:02:58 +0000 (17:02 +0200)]
Fix duplicate "is".

14 years agoMerge with 3.2
Georg Brandl [Sat, 16 Apr 2011 14:59:48 +0000 (16:59 +0200)]
Merge with 3.2

14 years agoMerge with 3.1
Georg Brandl [Sat, 16 Apr 2011 14:59:32 +0000 (16:59 +0200)]
Merge with 3.1

14 years agoSmall wording fix.
Georg Brandl [Sat, 16 Apr 2011 14:54:15 +0000 (16:54 +0200)]
Small wording fix.

14 years agoConsistency fix: "command line" is the noun, "command-line" the adjective.
Georg Brandl [Sat, 16 Apr 2011 14:44:54 +0000 (16:44 +0200)]
Consistency fix: "command line" is the noun, "command-line" the adjective.

14 years agoBackport 8a9f8f34d9d5.
Georg Brandl [Sat, 16 Apr 2011 15:05:30 +0000 (17:05 +0200)]
Backport 8a9f8f34d9d5.

14 years agoConsistency fix: "command line" is the noun, "command-line" the adjective.
Georg Brandl [Sat, 16 Apr 2011 14:44:54 +0000 (16:44 +0200)]
Consistency fix: "command line" is the noun, "command-line" the adjective.

14 years agoMerge: Improve message.py test coverage to 100%.
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.

14 years agoImprove message.py test coverage to 100%.
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.

14 years agoIssue #11855: merge from 3.2
Eli Bendersky [Sat, 16 Apr 2011 12:36:26 +0000 (15:36 +0300)]
Issue #11855: merge from 3.2

14 years agoIssue #11855: merge from 3.1
Eli Bendersky [Sat, 16 Apr 2011 12:34:29 +0000 (15:34 +0300)]
Issue #11855: merge from 3.1

14 years agoIssue #11855: Apply missing formatting for urlretrieve
Eli Bendersky [Sat, 16 Apr 2011 12:32:13 +0000 (15:32 +0300)]
Issue #11855: Apply missing formatting for urlretrieve

14 years agomerge
Raymond Hettinger [Sat, 16 Apr 2011 00:44:30 +0000 (17:44 -0700)]
merge

14 years agomerge
Raymond Hettinger [Sat, 16 Apr 2011 00:43:57 +0000 (17:43 -0700)]
merge

14 years agoAdd another example to the collections module docs.
Raymond Hettinger [Sat, 16 Apr 2011 00:43:19 +0000 (17:43 -0700)]
Add another example to the collections module docs.

14 years agoIssue #11852: Merge fix from 3.2.
Vinay Sajip [Fri, 15 Apr 2011 21:29:15 +0000 (22:29 +0100)]
Issue #11852: Merge fix from 3.2.

14 years agoIssue #11852: Add missing imports and update tests.
Vinay Sajip [Fri, 15 Apr 2011 21:27:17 +0000 (22:27 +0100)]
Issue #11852: Add missing imports and update tests.

14 years agoFix minor subclassing issue with collections.Counter
Raymond Hettinger [Fri, 15 Apr 2011 20:23:01 +0000 (13:23 -0700)]
Fix minor subclassing issue with collections.Counter

14 years agoFix 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

14 years agoFix 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

14 years agoRemove unused method from internal class.
R David Murray [Fri, 15 Apr 2011 18:55:04 +0000 (14:55 -0400)]
Remove unused method from internal class.

14 years ago#11843: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 15:08:09 +0000 (18:08 +0300)]
#11843: Merge with 3.2.

14 years ago#11843: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 15:07:38 +0000 (18:07 +0300)]
#11843: Merge with 3.1.

14 years ago#11843: remove duplicate line from table in distutil doc.
Ezio Melotti [Fri, 15 Apr 2011 15:05:09 +0000 (18:05 +0300)]
#11843: remove duplicate line from table in distutil doc.

14 years ago#5057: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 13:52:35 +0000 (16:52 +0300)]
#5057: Merge with 3.2.

14 years ago#5057: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 13:50:41 +0000 (16:50 +0300)]
#5057: Merge with 3.1.

14 years agoIssue #5057: fix a bug in the peepholer that led to non-portable pyc files between...
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]).

14 years agomerge from 3.2
Senthil Kumaran [Fri, 15 Apr 2011 10:22:05 +0000 (18:22 +0800)]
merge from 3.2

14 years agomerge from 3.1
Senthil Kumaran [Fri, 15 Apr 2011 10:21:26 +0000 (18:21 +0800)]
merge from 3.1

14 years agoIssue #11467: Fix urlparse behavior when handling urls which contains scheme specific...
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.

14 years ago#11848: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 05:27:37 +0000 (08:27 +0300)]
#11848: Merge with 3.2.

14 years ago#11848: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 05:27:00 +0000 (08:27 +0300)]
#11848: Merge with 3.1.

14 years ago#11848: replace dead link in random.betavariate comment.
Ezio Melotti [Fri, 15 Apr 2011 05:25:16 +0000 (08:25 +0300)]
#11848: replace dead link in random.betavariate comment.

14 years ago#11845: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 05:19:32 +0000 (08:19 +0300)]
#11845: Merge with 3.2.

14 years ago#11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. ...
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.

14 years ago#4783: Merge with 3.2.
Ezio Melotti [Fri, 15 Apr 2011 04:40:37 +0000 (07:40 +0300)]
#4783: Merge with 3.2.

14 years ago#4783: Merge with 3.1.
Ezio Melotti [Fri, 15 Apr 2011 04:39:08 +0000 (07:39 +0300)]
#4783: Merge with 3.1.

14 years ago#4783: document that is not possible to use json.dump twice on the same stream.
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.

14 years agomerge from 3.2
Eli Bendersky [Fri, 15 Apr 2011 04:29:31 +0000 (07:29 +0300)]
merge from 3.2

14 years agomerge from 3.1
Eli Bendersky [Fri, 15 Apr 2011 04:26:28 +0000 (07:26 +0300)]
merge from 3.1

14 years agoIssue #11827: remove mention of list2cmdline in the doc of subprocess
Eli Bendersky [Fri, 15 Apr 2011 04:23:26 +0000 (07:23 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess

14 years agomerge from 3.2.
Senthil Kumaran [Thu, 14 Apr 2011 05:20:41 +0000 (13:20 +0800)]
merge from 3.2.

Fix closes Issue1147.

14 years agomerge from 3.1
Senthil Kumaran [Thu, 14 Apr 2011 05:18:55 +0000 (13:18 +0800)]
merge from 3.1

14 years agoFix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
Senthil Kumaran [Thu, 14 Apr 2011 05:16:30 +0000 (13:16 +0800)]
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows

14 years ago#11840: Merge with 3.2.
Ezio Melotti [Thu, 14 Apr 2011 04:51:57 +0000 (07:51 +0300)]
#11840: Merge with 3.2.

14 years ago#11840: Merge with 3.1.
Ezio Melotti [Thu, 14 Apr 2011 04:50:25 +0000 (07:50 +0300)]
#11840: Merge with 3.1.

14 years ago#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 04:43:53 +0000 (07:43 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.

14 years agoDummy merge with 3.2.
Ezio Melotti [Thu, 14 Apr 2011 03:49:28 +0000 (06:49 +0300)]
Dummy merge with 3.2.

14 years agoDummy merge with 3.1.
Ezio Melotti [Thu, 14 Apr 2011 03:48:34 +0000 (06:48 +0300)]
Dummy merge with 3.1.

14 years ago#9101: backport json reference in configparser doc.
Ezio Melotti [Thu, 14 Apr 2011 03:41:38 +0000 (06:41 +0300)]
#9101: backport json reference in configparser doc.

14 years agoMerge 3.2
Brian Curtin [Wed, 13 Apr 2011 21:12:46 +0000 (16:12 -0500)]
Merge 3.2

14 years agoMerge 3.1
Brian Curtin [Wed, 13 Apr 2011 21:11:37 +0000 (16:11 -0500)]
Merge 3.1

14 years agoRemove inexistent tools
Brian Curtin [Wed, 13 Apr 2011 21:04:27 +0000 (16:04 -0500)]
Remove inexistent tools

14 years ago#11684: Complete parser bytes interface by adding BytesHeaderParser
R David Murray [Wed, 13 Apr 2011 20:46:05 +0000 (16:46 -0400)]
#11684: Complete parser bytes interface by adding BytesHeaderParser

Patch by Steffen Daode Nurpmeso.

14 years agomerge
Raymond Hettinger [Wed, 13 Apr 2011 18:50:34 +0000 (11:50 -0700)]
merge