]> granicus.if.org Git - python/log
python
14 years agoIssue #11186: pydoc ignores a module if its name contains a surrogate character
Victor Stinner [Tue, 12 Apr 2011 21:41:50 +0000 (23:41 +0200)]
Issue #11186: pydoc ignores a module if its name contains a surrogate character
in the index of modules.

14 years agoFix 64-bit safety issue in BZ2Compressor and BZ2Decompressor.
Nadeem Vawda [Tue, 12 Apr 2011 21:02:42 +0000 (23:02 +0200)]
Fix 64-bit safety issue in BZ2Compressor and BZ2Decompressor.

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

14 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

14 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

14 years agoIssue #11815: Use a light-weight SimpleQueue for the result queue in concurrent.futur...
Antoine Pitrou [Tue, 12 Apr 2011 15:58:11 +0000 (17:58 +0200)]
Issue #11815: Use a light-weight SimpleQueue for the result queue in concurrent.futures.ProcessPoolExecutor.

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

14 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).

14 years agoFix markup.
Raymond Hettinger [Tue, 12 Apr 2011 00:57:21 +0000 (17:57 -0700)]
Fix markup.

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

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

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

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

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

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

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

14 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).

14 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).

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

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

14 years agoWhitespace normalized.
Vinay Sajip [Mon, 11 Apr 2011 07:43:52 +0000 (08:43 +0100)]
Whitespace normalized.

14 years agoAdded 'handlers' argument to logging.basicConfig.
Vinay Sajip [Mon, 11 Apr 2011 07:42:07 +0000 (08:42 +0100)]
Added 'handlers' argument to logging.basicConfig.

14 years agoAdd Misc/NEWS "What's New" entry for subprocess timeouts.
Reid Kleckner [Mon, 11 Apr 2011 02:23:08 +0000 (22:23 -0400)]
Add Misc/NEWS "What's New" entry for subprocess timeouts.

14 years agoMerge with 3.2.
Ezio Melotti [Mon, 11 Apr 2011 00:51:14 +0000 (03:51 +0300)]
Merge with 3.2.

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

14 years agoMerge
Raymond Hettinger [Mon, 11 Apr 2011 00:24:14 +0000 (17:24 -0700)]
Merge

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

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

14 years agoMerge from 3.2 (issue #11814, issue #8428)
Antoine Pitrou [Sun, 10 Apr 2011 22:22:08 +0000 (00:22 +0200)]
Merge from 3.2 (issue #11814, issue #8428)

14 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().

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

14 years agoUse stock assertEqual instead of custom ndiffAssertEqual.
R David Murray [Sun, 10 Apr 2011 19:28:29 +0000 (15:28 -0400)]
Use stock assertEqual instead of custom ndiffAssertEqual.

Eventually I'll actually replace the calls in the tests themselves.

14 years ago#2650: re.escape() no longer escapes the "_".
Ezio Melotti [Sun, 10 Apr 2011 09:59:16 +0000 (12:59 +0300)]
#2650: re.escape() no longer escapes the "_".

14 years agoMerge with 3.2
Ross Lagerwall [Sun, 10 Apr 2011 07:34:35 +0000 (09:34 +0200)]
Merge with 3.2

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

14 years agoIssue #9904: fix and clarify some comments + fix indentation in symtable code
Eli Bendersky [Sun, 10 Apr 2011 04:37:26 +0000 (07:37 +0300)]
Issue #9904: fix and clarify some comments + fix indentation in symtable code

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

14 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

14 years agoIssue9670: Merge backout from 3.2.
Ned Deily [Sat, 9 Apr 2011 21:58:04 +0000 (14:58 -0700)]
Issue9670: Merge backout from 3.2.

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

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

14 years agoIssue #11757: select.select() now raises ValueError when a negative timeout
Antoine Pitrou [Sat, 9 Apr 2011 21:49:58 +0000 (23:49 +0200)]
Issue #11757: select.select() now raises ValueError when a negative timeout
is passed (previously, a select.error with EINVAL would be raised).  Patch
by Charles-François Natali.

14 years agoReplace constant tuple with constant set.
Raymond Hettinger [Sat, 9 Apr 2011 20:00:17 +0000 (13:00 -0700)]
Replace constant tuple with constant set.

14 years agoFix nit (make spelling consistent in prototype)
Raymond Hettinger [Sat, 9 Apr 2011 19:57:00 +0000 (12:57 -0700)]
Fix nit (make spelling consistent in prototype)

14 years agoIssue #9670: merge with current
Ned Deily [Sat, 9 Apr 2011 19:47:12 +0000 (12:47 -0700)]
Issue #9670: merge with current

14 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

14 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)

14 years agoMerge with 3.2
Ross Lagerwall [Sat, 9 Apr 2011 18:12:43 +0000 (20:12 +0200)]
Merge with 3.2

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

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

14 years ago(Merge 3.2) Issue #11650: PyOS_StdioReadline() retries fgets() if it was
Victor Stinner [Sat, 9 Apr 2011 14:01:55 +0000 (16:01 +0200)]
(Merge 3.2) 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.

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

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

14 years agoImprove faulthandler.enable(all_threads=True)
Victor Stinner [Fri, 8 Apr 2011 22:47:23 +0000 (00:47 +0200)]
Improve faulthandler.enable(all_threads=True)

faulthandler.enable(all_threads=True) dumps the tracebacks even if it is not
possible to get the state of the current thread

Create also the get_thread_state() subfunction to factorize the code.

14 years agofaulthandler: dump_tracebacks_later() displays also the timeout
Victor Stinner [Fri, 8 Apr 2011 11:39:59 +0000 (13:39 +0200)]
faulthandler: dump_tracebacks_later() displays also the timeout

14 years agofaulthandler: fix variable name, timeout_ms => timeout_us
Victor Stinner [Fri, 8 Apr 2011 11:00:31 +0000 (13:00 +0200)]
faulthandler: fix variable name, timeout_ms => timeout_us

The comment was already correct.

14 years agofaulthandler: one more time, fix usage of locks in the watchdog thread
Victor Stinner [Fri, 8 Apr 2011 10:57:06 +0000 (12:57 +0200)]
faulthandler: one more time, fix usage of locks in the watchdog thread

 * Write a new test to ensure that dump_tracebacks_later() still works if
   it was already called and then cancelled before
 * Don't use a variable to check the status of the thread, only rely on locks
 * The thread only releases cancel_event if it was able to acquire it (if
   the timer was interrupted)
 * The main thread always hold this lock. It is only released when
   faulthandler_thread() is interrupted until this thread exits, or at Python
   exit.

14 years agofaulthandler: fix unregister() if it is called before register()
Victor Stinner [Fri, 8 Apr 2011 10:48:15 +0000 (12:48 +0200)]
faulthandler: fix unregister() if it is called before register()

Fix a crash: don't read from NULL.

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

Not a complete fix for this issue.

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

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

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

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

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

14 years agoMerged whitespace fix.
Vinay Sajip [Fri, 8 Apr 2011 00:35:04 +0000 (01:35 +0100)]
Merged whitespace fix.

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

14 years agoMerged doc fix in 3.2.
Vinay Sajip [Fri, 8 Apr 2011 00:32:27 +0000 (01:32 +0100)]
Merged doc fix in 3.2.

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

14 years agoMerge to tip.
Brian Quinlan [Thu, 7 Apr 2011 22:30:41 +0000 (08:30 +1000)]
Merge to tip.

14 years agoIssue #11777: Executor.map does not submit futures until iter.next() is called
Brian Quinlan [Thu, 7 Apr 2011 22:19:33 +0000 (08:19 +1000)]
Issue #11777: Executor.map does not submit futures until iter.next() is called

14 years agoFix faulthandler timeout to avoid breaking buildbots
Antoine Pitrou [Thu, 7 Apr 2011 21:22:28 +0000 (23:22 +0200)]
Fix faulthandler timeout to avoid breaking buildbots

14 years ago#7311: merge with 3.2.
Ezio Melotti [Thu, 7 Apr 2011 19:27:44 +0000 (22:27 +0300)]
#7311: merge with 3.2.

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

14 years agoRefinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
Barry Warsaw [Thu, 7 Apr 2011 14:48:29 +0000 (10:48 -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).

14 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).

14 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).

14 years agofaulthandler: fix compilating without threads
Victor Stinner [Thu, 7 Apr 2011 09:50:25 +0000 (11:50 +0200)]
faulthandler: fix compilating without threads

14 years agofaulthandler: we don't use (or need) SA_SIGINFO flag of sigaction()
Victor Stinner [Thu, 7 Apr 2011 09:39:03 +0000 (11:39 +0200)]
faulthandler: we don't use (or need) SA_SIGINFO flag of sigaction()

14 years agofaulthandler: check PyThreadState_Get() result in dump_tracebacks_later()
Victor Stinner [Thu, 7 Apr 2011 09:37:19 +0000 (11:37 +0200)]
faulthandler: check PyThreadState_Get() result in dump_tracebacks_later()

Cleanup also the code

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

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

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

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

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

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

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

14 years ago#1690608: make formataddr RFC2047 aware.
R David Murray [Wed, 6 Apr 2011 13:35:57 +0000 (09:35 -0400)]
#1690608: make formataddr RFC2047 aware.

Patch by Torsten Becker.

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

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

14 years agomerge from 3.2
Senthil Kumaran [Wed, 6 Apr 2011 06:16:08 +0000 (14:16 +0800)]
merge from 3.2

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

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

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

14 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

14 years agoimplement tp_clear
Benjamin Peterson [Tue, 5 Apr 2011 22:25:14 +0000 (17:25 -0500)]
implement tp_clear

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

14 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

14 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

14 years agoMerge with 3.2
Ross Lagerwall [Tue, 5 Apr 2011 14:07:49 +0000 (16:07 +0200)]
Merge with 3.2

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