]> granicus.if.org Git - python/log
python
14 years agoThe version* directives don’t work with a blank line between arguments
Éric Araujo [Sun, 24 Apr 2011 01:31:37 +0000 (03:31 +0200)]
The version* directives don’t work with a blank line between arguments

14 years agoRemove unneeded backslashes
Éric Araujo [Sun, 24 Apr 2011 00:59:02 +0000 (02:59 +0200)]
Remove unneeded backslashes

14 years agoFix indentation
Éric Araujo [Sun, 24 Apr 2011 00:44:39 +0000 (02:44 +0200)]
Fix indentation

14 years agoMerge 3.1
Éric Araujo [Sun, 24 Apr 2011 00:42:52 +0000 (02:42 +0200)]
Merge 3.1

14 years agoBranch merge
Éric Araujo [Sun, 24 Apr 2011 00:39:43 +0000 (02:39 +0200)]
Branch merge

14 years agoBranch merge
Éric Araujo [Sun, 24 Apr 2011 00:34:11 +0000 (02:34 +0200)]
Branch merge

14 years agoFix weird executable name
Éric Araujo [Fri, 22 Apr 2011 19:27:10 +0000 (21:27 +0200)]
Fix weird executable name

14 years agoFix some more markup glitches in argparse doc.
Ezio Melotti [Thu, 21 Apr 2011 22:42:10 +0000 (01:42 +0300)]
Fix some more markup glitches in argparse doc.

14 years ago#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:09:27 +0000 (23:09 +0300)]
#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.

14 years ago#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:06:48 +0000 (23:06 +0300)]
#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.

14 years ago#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 19:56:51 +0000 (22:56 +0300)]
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.

14 years agoAdd the :mod: role where it was missing.
Ezio Melotti [Thu, 21 Apr 2011 13:12:17 +0000 (16:12 +0300)]
Add the :mod: role where it was missing.

14 years ago#11885: capitalize Python.
Ezio Melotti [Thu, 21 Apr 2011 12:26:46 +0000 (15:26 +0300)]
#11885: capitalize Python.

14 years ago#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
Ezio Melotti [Thu, 21 Apr 2011 11:49:03 +0000 (14:49 +0300)]
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.

14 years agoAdd a space to make json doc a bit more readable
Éric Araujo [Thu, 21 Apr 2011 00:37:41 +0000 (02:37 +0200)]
Add a space to make json doc a bit more readable

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 20:40:48 +0000 (22:40 +0200)]
merge

14 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:39:29 +0000 (22:39 +0200)]
merge heads

14 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:38:26 +0000 (22:38 +0200)]
merge heads

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 20:31:34 +0000 (22:31 +0200)]
null merge

14 years agoPort 5b607cd8c71b (closes #11892)
Jesus Cea [Wed, 20 Apr 2011 20:26:57 +0000 (22:26 +0200)]
Port 5b607cd8c71b (closes #11892)

14 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:08:40 +0000 (13:08 -0700)]
Minor text rearrangement.

14 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:03:49 +0000 (13:03 -0700)]
Minor text rearrangement.

14 years agoheads merging
Jesus Cea [Wed, 20 Apr 2011 19:10:20 +0000 (21:10 +0200)]
heads merging

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 19:00:40 +0000 (21:00 +0200)]
null merge

14 years agoUse non-deprecated method name.
Ezio Melotti [Wed, 20 Apr 2011 18:56:21 +0000 (21:56 +0300)]
Use non-deprecated method name.

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 18:51:59 +0000 (20:51 +0200)]
merge

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 18:51:09 +0000 (20:51 +0200)]
merge

14 years agoMERGE: Up-port changeset 5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 18:32:52 +0000 (20:32 +0200)]
MERGE: Up-port changeset 5cf8f6da8743 (closes #11890)

14 years agoMerge with 3.1.
Ezio Melotti [Wed, 20 Apr 2011 18:32:40 +0000 (21:32 +0300)]
Merge with 3.1.

14 years agoFix wrong function name. Noticed by Clive Darke.
Ezio Melotti [Wed, 20 Apr 2011 18:29:31 +0000 (21:29 +0300)]
Fix wrong function name. Noticed by Clive Darke.

14 years agoUp-port changeset 5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 18:24:57 +0000 (20:24 +0200)]
Up-port changeset 5cf8f6da8743 (closes #11890)

14 years agoMerge 3.1
Éric Araujo [Wed, 20 Apr 2011 17:24:09 +0000 (19:24 +0200)]
Merge 3.1

14 years agoBranch merge
Éric Araujo [Wed, 20 Apr 2011 17:23:26 +0000 (19:23 +0200)]
Branch merge

14 years agoFix argument name in reST doc to match the code
Éric Araujo [Wed, 20 Apr 2011 17:11:12 +0000 (19:11 +0200)]
Fix argument name in reST doc to match the code

14 years agoBranch merge
Éric Araujo [Wed, 20 Apr 2011 16:54:12 +0000 (18:54 +0200)]
Branch merge

14 years agoAdd docstring to dbm.open
Éric Araujo [Wed, 20 Apr 2011 16:52:55 +0000 (18:52 +0200)]
Add docstring to dbm.open

14 years agoMERGE: startswith and endswith don't accept None as slice index. Patch by Torsten...
Jesus Cea [Wed, 20 Apr 2011 15:42:50 +0000 (17:42 +0200)]
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

14 years agostartswith and endswith don't accept None as slice index. Patch by Torsten Becker...
Jesus Cea [Wed, 20 Apr 2011 15:09:23 +0000 (17:09 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

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

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

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:12:47 +0000 (11:12 -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 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 agoUpdated documentation on fileConfig().
Vinay Sajip [Tue, 19 Apr 2011 12:56:39 +0000 (13:56 +0100)]
Updated documentation on fileConfig().

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 agoFix markup.
R David Murray [Mon, 18 Apr 2011 19:54:58 +0000 (15:54 -0400)]
Fix markup.

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 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.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 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 agoFix resource warning found manually
Éric Araujo [Sun, 17 Apr 2011 12:27:07 +0000 (14:27 +0200)]
Fix resource warning found manually

14 years agoAdvertise nesting directives for class/method and class/data combos.
Éric Araujo [Sat, 16 Apr 2011 21:47:53 +0000 (23:47 +0200)]
Advertise nesting directives for class/method and class/data combos.

Also fix a typo and a misleading example (method used to describe function).

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:01 +0000 (21:02 +0200)]
Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.

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 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 agoMerge with 3.1
Georg Brandl [Sat, 16 Apr 2011 14:59:32 +0000 (16:59 +0200)]
Merge with 3.1

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.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: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 agoFix double use of f.close().
Éric Araujo [Fri, 15 Apr 2011 22:13:39 +0000 (00:13 +0200)]
Fix double use of f.close().

The other one is in a finally block not seen in the diff, which I added
in 3bf86785cd9c (for #10252).

14 years agoAdd missing types to docstring of ast.literal_eval.
Éric Araujo [Sun, 17 Apr 2011 17:10:27 +0000 (19:10 +0200)]
Add missing types to docstring of ast.literal_eval.

The reST doc was updated but not the docstring.

14 years agoPrevent deprecation warning
Éric Araujo [Sun, 17 Apr 2011 14:48:52 +0000 (16:48 +0200)]
Prevent deprecation warning

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: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 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.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.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.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: 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.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.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.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.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.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 agoFix improper tests in RegisterTestCase
Éric Araujo [Thu, 14 Apr 2011 01:49:19 +0000 (03:49 +0200)]
Fix improper tests in RegisterTestCase

14 years agoMinor tweaks to a few comments in heapq
Éric Araujo [Fri, 15 Apr 2011 21:34:31 +0000 (23:34 +0200)]
Minor tweaks to a few comments in heapq