]> granicus.if.org Git - python/log
python
13 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.

13 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

13 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

13 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.

13 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.

13 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.

13 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]).

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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

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

13 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

13 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.

13 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.

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

13 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.

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

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

13 years agoIssue 3051: make pure python code pass the same tests as the C version.
Raymond Hettinger [Wed, 13 Apr 2011 18:49:57 +0000 (11:49 -0700)]
Issue 3051: make pure python code pass the same tests as the C version.

13 years agoMerge: Fix wording and clarify that the IDNA codec operates on full domain names.
R David Murray [Wed, 13 Apr 2011 18:12:59 +0000 (14:12 -0400)]
Merge: Fix wording and clarify that the IDNA codec operates on full domain names.

Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.

13 years agoFix wording and clarify that the IDNA codec operates on full domain names.
R David Murray [Wed, 13 Apr 2011 18:12:18 +0000 (14:12 -0400)]
Fix wording and clarify that the IDNA codec operates on full domain names.

Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.

13 years agoMerge with 3.1.
Ezio Melotti [Wed, 13 Apr 2011 13:44:18 +0000 (16:44 +0300)]
Merge with 3.1.

13 years agoFix typo in docstring.
Ezio Melotti [Wed, 13 Apr 2011 13:43:21 +0000 (16:43 +0300)]
Fix typo in docstring.

13 years agoMerge with 3.1.
Ezio Melotti [Wed, 13 Apr 2011 04:18:24 +0000 (07:18 +0300)]
Merge with 3.1.

13 years ago#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not...
Ezio Melotti [Wed, 13 Apr 2011 04:10:13 +0000 (07:10 +0300)]
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.

13 years agoRemove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Wed, 13 Apr 2011 04:08:17 +0000 (07:08 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.

13 years ago#9233: Fix json to work properly even when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 04:04:18 +0000 (07:04 +0300)]
#9233: Fix json to work properly even when _json is not available.

13 years ago#9233: skip _json-specific tests when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 03:58:29 +0000 (06:58 +0300)]
#9233: skip _json-specific tests when _json is not available.

13 years agoIssue #11830: Remove unnecessary introspection code in the decimal module.
Alexander Belopolsky [Wed, 13 Apr 2011 03:03:39 +0000 (23:03 -0400)]
Issue #11830: Remove unnecessary introspection code in the decimal module.

Forward ported changesets b4b1f557d563 and f4adc2926bf5 by Raymond
Hettinger in branch '2.7'.

13 years agoFix nit.
Raymond Hettinger [Wed, 13 Apr 2011 01:57:55 +0000 (18:57 -0700)]
Fix nit.

13 years agomerge from push conflict.
Senthil Kumaran [Wed, 13 Apr 2011 01:39:35 +0000 (09:39 +0800)]
merge from push conflict.

13 years agoMerge update.
Senthil Kumaran [Wed, 13 Apr 2011 01:36:31 +0000 (09:36 +0800)]
Merge update.

13 years agoMerge updates
Senthil Kumaran [Wed, 13 Apr 2011 01:35:37 +0000 (09:35 +0800)]
Merge updates

13 years agomerge update
Senthil Kumaran [Wed, 13 Apr 2011 01:34:21 +0000 (09:34 +0800)]
merge update

13 years agoIssue 11718: Teach IDLE's open module dialog to find packages.
Raymond Hettinger [Wed, 13 Apr 2011 01:30:14 +0000 (18:30 -0700)]
Issue 11718: Teach IDLE's open module dialog to find packages.

13 years agomerge from 3.1
Senthil Kumaran [Wed, 13 Apr 2011 01:21:42 +0000 (09:21 +0800)]
merge from 3.1

13 years agoUpdate the News for the fix to Issue11703.
Senthil Kumaran [Wed, 13 Apr 2011 01:21:01 +0000 (09:21 +0800)]
Update the News for the fix to Issue11703.

13 years agoMerge #10019: Fix regression relative to 2.6: add newlines if indent=0
R David Murray [Wed, 13 Apr 2011 01:09:18 +0000 (21:09 -0400)]
Merge #10019: Fix regression relative to 2.6: add newlines if indent=0

Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.

13 years ago#10019: Fix regression relative to 2.6: add newlines if indent=0
R David Murray [Wed, 13 Apr 2011 01:02:45 +0000 (21:02 -0400)]
#10019: Fix regression relative to 2.6: add newlines if indent=0

Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.

13 years agomerge 3.1
Benjamin Peterson [Tue, 12 Apr 2011 23:34:30 +0000 (18:34 -0500)]
merge 3.1

13 years agomerge heads
Benjamin Peterson [Tue, 12 Apr 2011 23:34:06 +0000 (18:34 -0500)]
merge heads

13 years agomake assigning to a bytes literal a syntax error (closes #11506)
Benjamin Peterson [Tue, 12 Apr 2011 23:33:28 +0000 (18:33 -0500)]
make assigning to a bytes literal a syntax error (closes #11506)

13 years agomerge from 3.1
Senthil Kumaran [Tue, 12 Apr 2011 23:22:29 +0000 (07:22 +0800)]
merge from 3.1

13 years agoFix Issue11703 - urllib2.geturl() does not return correct url when the original url...
Senthil Kumaran [Tue, 12 Apr 2011 23:01:19 +0000 (07:01 +0800)]
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.

13 years agoMerge
Raymond Hettinger [Tue, 12 Apr 2011 22:24:39 +0000 (15:24 -0700)]
Merge

13 years agoIssue 11747: Fix output format for context diffs.
Raymond Hettinger [Tue, 12 Apr 2011 22:19:33 +0000 (15:19 -0700)]
Issue 11747: Fix output format for context diffs.

13 years agoIssue 11747: Fix output format for context diffs.
Raymond Hettinger [Tue, 12 Apr 2011 22:14:12 +0000 (15:14 -0700)]
Issue 11747: Fix output format for context diffs.

13 years agoMerge: Add maxlinelen to docstring, delete obsolete wording
R David Murray [Tue, 12 Apr 2011 19:01:28 +0000 (15:01 -0400)]
Merge: Add maxlinelen to docstring, delete obsolete wording

13 years agoAdd maxlinelen to docstring, delete obsolete wording
R David Murray [Tue, 12 Apr 2011 19:00:44 +0000 (15:00 -0400)]
Add maxlinelen to docstring, delete obsolete wording

13 years agoIssue #11815: Remove dead code in concurrent.futures (since a blocking Queue
Antoine Pitrou [Tue, 12 Apr 2011 15:48:46 +0000 (17:48 +0200)]
Issue #11815: Remove dead code in concurrent.futures (since a blocking Queue
cannot raise queue.Empty).

13 years agoDummy merge
Brian Curtin [Mon, 11 Apr 2011 23:36:25 +0000 (18:36 -0500)]
Dummy merge

13 years agoCorrect leading spaces in my NEWS entry.
Brian Curtin [Mon, 11 Apr 2011 23:35:18 +0000 (18:35 -0500)]
Correct leading spaces in my NEWS entry.

13 years agoAdd NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 23:18:20 +0000 (18:18 -0500)]
Add NEWS item for #5162.

13 years agoAdd NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 23:09:24 +0000 (18:09 -0500)]
Add NEWS item for #5162.

13 years agoFix #5162. Allow child spawning from Windows services (via pywin32).
brian.curtin [Mon, 11 Apr 2011 22:57:59 +0000 (17:57 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).

13 years agoFix #5162. Allow child spawning from Windows services (via pywin32).
brian.curtin [Mon, 11 Apr 2011 22:56:23 +0000 (17:56 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).

13 years agoIssue #11747: Fix range formatting in context and unified diffs.
Raymond Hettinger [Mon, 11 Apr 2011 19:40:58 +0000 (12:40 -0700)]
Issue #11747: Fix range formatting in context and unified diffs.

13 years agoRemove unnecessary call to PyErr_Clear.
Ezio Melotti [Mon, 11 Apr 2011 00:48:57 +0000 (03:48 +0300)]
Remove unnecessary call to PyErr_Clear.

13 years agoCleanup and modernize code prior to working on Issue 11747.
Raymond Hettinger [Mon, 11 Apr 2011 00:14:56 +0000 (17:14 -0700)]
Cleanup and modernize code prior to working on Issue 11747.

13 years agoIssue #11814: Fix likely typo in multiprocessing.Pool._terminate().
Antoine Pitrou [Sun, 10 Apr 2011 22:20:23 +0000 (00:20 +0200)]
Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().

13 years agoIssue #8428: Fix a race condition in multiprocessing.Pool when terminating
Antoine Pitrou [Sun, 10 Apr 2011 22:18:59 +0000 (00:18 +0200)]
Issue #8428: Fix a race condition in multiprocessing.Pool when terminating
worker processes: new processes would be spawned while the pool is being
shut down.  Patch by Charles-François Natali.

13 years agoIssue #11818: Fix tempfile examples for Python 3.
Ross Lagerwall [Sun, 10 Apr 2011 07:30:04 +0000 (09:30 +0200)]
Issue #11818: Fix tempfile examples for Python 3.

13 years agoBeautify and modernize the SequenceMatcher example
Raymond Hettinger [Sun, 10 Apr 2011 02:41:00 +0000 (19:41 -0700)]
Beautify and modernize the SequenceMatcher example

13 years agoIssue9670: Merge backout to 3.2.
Ned Deily [Sat, 9 Apr 2011 21:53:47 +0000 (14:53 -0700)]
Issue9670: Merge backout to 3.2.

13 years agoIssue9670: Back out changeset 378b40d71175; test fails on other platforms
Ned Deily [Sat, 9 Apr 2011 21:50:59 +0000 (14:50 -0700)]
Issue9670: Back out changeset 378b40d71175; test fails on other platforms
and on OS X with pydebug.

13 years agoIssue #9670: merge with 3.2
Ned Deily [Sat, 9 Apr 2011 19:37:55 +0000 (12:37 -0700)]
Issue #9670: merge with 3.2

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 9 Apr 2011 19:32:12 +0000 (12:32 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)

13 years agoMerge with 3.1
Ross Lagerwall [Sat, 9 Apr 2011 18:05:04 +0000 (20:05 +0200)]
Merge with 3.1

13 years agoIssue #11719: Fix message about unexpected test_msilib skip.
Ross Lagerwall [Sat, 9 Apr 2011 17:30:03 +0000 (19:30 +0200)]
Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.

13 years ago(Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it was
Victor Stinner [Sat, 9 Apr 2011 13:59:25 +0000 (15:59 +0200)]
(Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it was
interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac
OS X. Patch written by Charles-Francois Natali.

13 years agoIssue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
Victor Stinner [Sat, 9 Apr 2011 13:55:44 +0000 (15:55 +0200)]
Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
(EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
written by Charles-Francois Natali.

13 years agoMerge #11492: fix header truncation on folding when there are runs of split chars.
R David Murray [Fri, 8 Apr 2011 00:56:31 +0000 (20:56 -0400)]
Merge #11492: fix header truncation on folding when there are runs of split chars.

Not a complete fix for this issue.

13 years ago#11492: fix header truncation on folding when there are runs of split chars.
R David Murray [Fri, 8 Apr 2011 00:54:03 +0000 (20:54 -0400)]
#11492: fix header truncation on folding when there are runs of split chars.

Not a complete fix for this issue.

13 years agoMerge: Improve test coverage of _split_ascii method.
R David Murray [Fri, 8 Apr 2011 00:40:01 +0000 (20:40 -0400)]
Merge: Improve test coverage of _split_ascii method.

13 years agoImprove test coverage of _split_ascii method.
R David Murray [Fri, 8 Apr 2011 00:37:17 +0000 (20:37 -0400)]
Improve test coverage of _split_ascii method.

13 years agoNormalised whitespace.
Vinay Sajip [Fri, 8 Apr 2011 00:34:20 +0000 (01:34 +0100)]
Normalised whitespace.

13 years agoUpdated Formatter documentation.
Vinay Sajip [Fri, 8 Apr 2011 00:30:51 +0000 (01:30 +0100)]
Updated Formatter documentation.

13 years ago#7311: fix html.parser to accept non-ASCII attribute values.
Ezio Melotti [Thu, 7 Apr 2011 19:03:31 +0000 (22:03 +0300)]
#7311: fix html.parser to accept non-ASCII attribute values.

13 years agoRefinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
Barry Warsaw [Thu, 7 Apr 2011 14:45:07 +0000 (10:45 -0400)]
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).

13 years agoRefinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
Barry Warsaw [Thu, 7 Apr 2011 14:40:36 +0000 (10:40 -0400)]
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).

13 years agoRemoved 'or long integer' from bin, oct, and hex docstrings.
Alexander Belopolsky [Thu, 7 Apr 2011 04:15:33 +0000 (00:15 -0400)]
Removed 'or long integer' from bin, oct, and hex docstrings.

13 years agoIssue #11766: increase countdown waiting for a pool of processes to start
Antoine Pitrou [Wed, 6 Apr 2011 20:51:17 +0000 (22:51 +0200)]
Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.

13 years agoIssue 11715: Merge multiarch fix from 3.1 branch.
Barry Warsaw [Wed, 6 Apr 2011 19:19:05 +0000 (15:19 -0400)]
Issue 11715: Merge multiarch fix from 3.1 branch.

13 years agoIssue 11715: Build extension modules on multiarch Debian and Ubuntu by
Barry Warsaw [Wed, 6 Apr 2011 19:18:12 +0000 (15:18 -0400)]
Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
extending search paths to include multiarch directories.

13 years ago#11605: don't use set/get_payload in feedparser; they do conversions.
R David Murray [Wed, 6 Apr 2011 12:13:02 +0000 (08:13 -0400)]
#11605: don't use set/get_payload in feedparser; they do conversions.

Really the whole API needs to be gone over to restore the
separation of concerns; but that's what email6 is about.

13 years agoMerge from 3.1
Senthil Kumaran [Wed, 6 Apr 2011 06:11:09 +0000 (14:11 +0800)]
Merge from 3.1

13 years agoIssue #10762: Guard against invalid/non-supported format string '%f' on Windows....
Senthil Kumaran [Wed, 6 Apr 2011 04:54:06 +0000 (12:54 +0800)]
Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.

13 years agoIssue #11576: Fixed timedelta subtraction glitch on big timedelta values
Alexander Belopolsky [Wed, 6 Apr 2011 00:07:38 +0000 (20:07 -0400)]
Issue #11576: Fixed timedelta subtraction glitch on big timedelta values

13 years agoTry to fix sporadic test_multiprocessing failure
Antoine Pitrou [Tue, 5 Apr 2011 16:12:15 +0000 (18:12 +0200)]
Try to fix sporadic test_multiprocessing failure

13 years agoTry to fix sporadic test_multiprocessing failure
Antoine Pitrou [Tue, 5 Apr 2011 16:11:33 +0000 (18:11 +0200)]
Try to fix sporadic test_multiprocessing failure

13 years agoMerge with 3.1
Ross Lagerwall [Tue, 5 Apr 2011 13:48:47 +0000 (15:48 +0200)]
Merge with 3.1

13 years agoIssue #10963: Ensure that subprocess.communicate() never raises EPIPE.
Ross Lagerwall [Tue, 5 Apr 2011 13:34:00 +0000 (15:34 +0200)]
Issue #10963: Ensure that subprocess.communicate() never raises EPIPE.

13 years agoTry to fix sporadic failure in test_thread/test_threading
Antoine Pitrou [Mon, 4 Apr 2011 20:00:10 +0000 (22:00 +0200)]
Try to fix sporadic failure in test_thread/test_threading

13 years agoTry to fix sporadic failure in test_thread/test_threading
Antoine Pitrou [Mon, 4 Apr 2011 19:59:09 +0000 (21:59 +0200)]
Try to fix sporadic failure in test_thread/test_threading