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

13 years agoClarify that GzipFile.read1() isn't implemented.
Antoine Pitrou [Mon, 4 Apr 2011 19:06:20 +0000 (21:06 +0200)]
Clarify that GzipFile.read1() isn't implemented.

13 years agoIssue #11761: make tests for gc.get_count() less fragile
Antoine Pitrou [Mon, 4 Apr 2011 17:51:33 +0000 (19:51 +0200)]
Issue #11761: make tests for gc.get_count() less fragile

13 years agoIssue #11761: make tests for gc.get_count() less fragile
Antoine Pitrou [Mon, 4 Apr 2011 17:50:42 +0000 (19:50 +0200)]
Issue #11761: make tests for gc.get_count() less fragile

13 years agoIssue #9347: Fix formatting for tuples in argparse type= error messages.
Steven Bethard [Sun, 3 Apr 2011 23:53:02 +0000 (01:53 +0200)]
Issue #9347: Fix formatting for tuples in argparse type= error messages.

13 years agoIssue #11749: try to fix transient test_socket failure
Antoine Pitrou [Sun, 3 Apr 2011 23:21:37 +0000 (01:21 +0200)]
Issue #11749: try to fix transient test_socket failure

13 years agoIssue #11746: Fix SSLContext.load_cert_chain() to accept elliptic curve private keys.
Antoine Pitrou [Sun, 3 Apr 2011 16:15:34 +0000 (18:15 +0200)]
Issue #11746: Fix SSLContext.load_cert_chain() to accept elliptic curve private keys.

13 years ago#11282: the fail* methods will stay around a few more versions.
Ezio Melotti [Sun, 3 Apr 2011 14:37:58 +0000 (17:37 +0300)]
#11282: the fail* methods will stay around a few more versions.

13 years agoMerge with 3.1
Ezio Melotti [Sun, 3 Apr 2011 13:24:22 +0000 (16:24 +0300)]
Merge with 3.1

13 years agoFix typo noticed by Sandro Tosi.
Ezio Melotti [Sun, 3 Apr 2011 13:20:21 +0000 (16:20 +0300)]
Fix typo noticed by Sandro Tosi.

13 years agoIssue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named...
Raymond Hettinger [Thu, 31 Mar 2011 22:46:06 +0000 (15:46 -0700)]
Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.

13 years agoFix markup and wording.
Raymond Hettinger [Thu, 31 Mar 2011 20:59:24 +0000 (13:59 -0700)]
Fix markup and wording.

13 years agoAdd links to make the math docs more usable.
Raymond Hettinger [Thu, 31 Mar 2011 19:04:53 +0000 (12:04 -0700)]
Add links to make the math docs more usable.

13 years agosys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not
Victor Stinner [Thu, 31 Mar 2011 11:39:03 +0000 (13:39 +0200)]
sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not
called yet: detect bootstrap (startup) issues earlier.

13 years agoIssue #11618: Fix the timeout logic in threading.Lock.acquire() under
Antoine Pitrou [Wed, 30 Mar 2011 23:00:32 +0000 (01:00 +0200)]
Issue #11618: Fix the timeout logic in threading.Lock.acquire() under
Windows.

13 years agoMerge
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:55:52 +0000 (11:55 +0000)]
Merge

13 years agoMerge 3.1
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:54:13 +0000 (11:54 +0000)]
Merge 3.1

13 years agoMerge 3.1
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:24:58 +0000 (11:24 +0000)]
Merge 3.1

13 years agoBugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
Kristjan Valur Jonsson [Wed, 30 Mar 2011 11:04:28 +0000 (11:04 +0000)]
Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has
succeeded.

13 years agoIssue 11713: clarify docstring for collections.deque()
Raymond Hettinger [Wed, 30 Mar 2011 00:36:31 +0000 (17:36 -0700)]
Issue 11713: clarify docstring for collections.deque()

13 years agoIssue 11713: clarify docstring for collections.deque()
Raymond Hettinger [Wed, 30 Mar 2011 00:30:01 +0000 (17:30 -0700)]
Issue 11713: clarify docstring for collections.deque()

13 years agoMerge issue 11662.
Guido van Rossum [Tue, 29 Mar 2011 19:58:29 +0000 (12:58 -0700)]
Merge issue 11662.

13 years agoMerge issue 11662.
Guido van Rossum [Tue, 29 Mar 2011 19:55:41 +0000 (12:55 -0700)]
Merge issue 11662.

13 years agoMerge Issue 11662 from 3.1 branch.
guido@google.com [Tue, 29 Mar 2011 18:51:26 +0000 (11:51 -0700)]
Merge Issue 11662 from 3.1 branch.

13 years agoIssue 11662: Fix vulnerability in urllib/urllib2.
guido@google.com [Tue, 29 Mar 2011 18:41:02 +0000 (11:41 -0700)]
Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)

13 years agoCorrect handling of functions with only kwarg args in getcallargs (closes #11256)
Benjamin Peterson [Mon, 28 Mar 2011 22:32:31 +0000 (17:32 -0500)]
Correct handling of functions with only kwarg args in getcallargs (closes #11256)

A patch from Daniel Urban.

13 years agomerge 3.1
Benjamin Peterson [Mon, 28 Mar 2011 22:25:50 +0000 (17:25 -0500)]
merge 3.1

13 years agolet's keep parenthesis around sizeof
Benjamin Peterson [Mon, 28 Mar 2011 22:25:15 +0000 (17:25 -0500)]
let's keep parenthesis around sizeof

13 years ago#10617: merge with 3.1.
Ezio Melotti [Mon, 28 Mar 2011 10:53:40 +0000 (13:53 +0300)]
#10617: merge with 3.1.

13 years ago#10617: add class directives to collections ABCs.
Ezio Melotti [Mon, 28 Mar 2011 10:50:41 +0000 (13:50 +0300)]
#10617: add class directives to collections ABCs.

13 years agomerge #11696
Martin v. Löwis [Sun, 27 Mar 2011 19:07:13 +0000 (21:07 +0200)]
merge #11696

13 years agoCloses #11696: Fix ID generation in msilib.
Martin v. Löwis [Sun, 27 Mar 2011 19:05:51 +0000 (21:05 +0200)]
Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.

13 years agoMerge #9696
Mark Dickinson [Sun, 27 Mar 2011 15:30:07 +0000 (16:30 +0100)]
Merge #9696

13 years agoIssue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying...
Mark Dickinson [Sun, 27 Mar 2011 15:25:40 +0000 (16:25 +0100)]
Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.

13 years agoMove misplaced Misc/NEWS item (merge from 3.1)
Mark Dickinson [Sun, 27 Mar 2011 14:50:04 +0000 (15:50 +0100)]
Move misplaced Misc/NEWS item (merge from 3.1)

13 years agoFix misplaced Misc/NEWS entry.
Mark Dickinson [Sun, 27 Mar 2011 14:46:32 +0000 (15:46 +0100)]
Fix misplaced Misc/NEWS entry.

13 years agoIssue #9026: Fix order of argparse sub-commands in help messages.
Steven Bethard [Sun, 27 Mar 2011 11:53:53 +0000 (13:53 +0200)]
Issue #9026: Fix order of argparse sub-commands in help messages.

13 years agomerge #7639
Martin v. Löwis [Sun, 27 Mar 2011 08:14:57 +0000 (10:14 +0200)]
merge #7639

13 years agoFix short file name generation in bdist_msi.
Martin v. Löwis [Sun, 27 Mar 2011 08:12:07 +0000 (10:12 +0200)]
Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.

13 years agomerge 3.1
Benjamin Peterson [Sat, 26 Mar 2011 23:17:05 +0000 (18:17 -0500)]
merge 3.1

13 years agorevert unintended changes
Benjamin Peterson [Sat, 26 Mar 2011 23:11:54 +0000 (18:11 -0500)]
revert unintended changes

13 years agoalways check return value of PyObject_IsInstance for error
Benjamin Peterson [Sat, 26 Mar 2011 23:04:09 +0000 (18:04 -0500)]
always check return value of PyObject_IsInstance for error

13 years agocheck possible recursive _as_parameter_ to prevent segfault (closes #1838)
Benjamin Peterson [Sat, 26 Mar 2011 22:56:28 +0000 (17:56 -0500)]
check possible recursive _as_parameter_ to prevent segfault (closes #1838)

13 years agoIssue #9343: Document that argparse parent parsers must be configured before their...
Steven Bethard [Sat, 26 Mar 2011 20:49:00 +0000 (21:49 +0100)]
Issue #9343: Document that argparse parent parsers must be configured before their children.

13 years agoMerge
Antoine Pitrou [Sat, 26 Mar 2011 20:16:07 +0000 (21:16 +0100)]
Merge

13 years agoIn the Windows clean script for buildbots, also clear the build dir
Antoine Pitrou [Sat, 26 Mar 2011 20:15:47 +0000 (21:15 +0100)]
In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)

13 years agoMerge with 3.1
Ross Lagerwall [Sat, 26 Mar 2011 19:21:46 +0000 (21:21 +0200)]
Merge with 3.1

13 years agoIssue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Ross Lagerwall [Sat, 26 Mar 2011 19:19:57 +0000 (21:19 +0200)]
Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.

13 years agoIssue #8982: Improve the documentation for the argparse Namespace object.
Steven Bethard [Sat, 26 Mar 2011 18:50:06 +0000 (19:50 +0100)]
Issue #8982: Improve the documentation for the argparse Namespace object.

13 years agoIssue #11635: Don't use polling in worker threads and processes launched by
Antoine Pitrou [Sat, 26 Mar 2011 18:29:44 +0000 (19:29 +0100)]
Issue #11635: Don't use polling in worker threads and processes launched by
concurrent.futures.

13 years agoRead HTTP response inside transient_internet()
Antoine Pitrou [Sat, 26 Mar 2011 17:38:06 +0000 (18:38 +0100)]
Read HTTP response inside transient_internet()

13 years agotest_urllibnet: make it so that transient_internet() applies to the
Antoine Pitrou [Sat, 26 Mar 2011 17:36:42 +0000 (18:36 +0100)]
test_urllibnet: make it so that transient_internet() applies to the
whole HTTP exchange, not only the opening.

13 years agoFix NEWS item that ended up in wrong section
Steven Bethard [Sat, 26 Mar 2011 17:29:48 +0000 (18:29 +0100)]
Fix NEWS item that ended up in wrong section

13 years agoIssue #9348: Raise an early error if argparse nargs and metavar don't match.
Steven Bethard [Sat, 26 Mar 2011 16:33:56 +0000 (17:33 +0100)]
Issue #9348: Raise an early error if argparse nargs and metavar don't match.

13 years agoMerge #11675
Mark Dickinson [Sat, 26 Mar 2011 10:21:20 +0000 (10:21 +0000)]
Merge #11675

13 years agoIssue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.
Mark Dickinson [Sat, 26 Mar 2011 10:19:03 +0000 (10:19 +0000)]
Issue #11675:  Zero-out newly-created multiprocessing.[Raw]Array objects.