]> granicus.if.org Git - python/log
python
13 years ago#13358: HTMLParser now calls handle_data only once for each CDATA.
Ezio Melotti [Fri, 18 Nov 2011 16:00:40 +0000 (18:00 +0200)]
#13358: HTMLParser now calls handle_data only once for each CDATA.

13 years ago#4147: minidom's toprettyxml no longer adds whitespace around a text node when it...
Ezio Melotti [Fri, 18 Nov 2011 15:30:28 +0000 (17:30 +0200)]
#4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element.  Initial patch by Dan Kenigsberg.

13 years ago#13426: fix typo in pickle doc.
Ezio Melotti [Fri, 18 Nov 2011 11:41:58 +0000 (13:41 +0200)]
#13426: fix typo in pickle doc.

13 years agoPDB now will properly escape backslashes in the names of modules it executes. Fixes...
Jason R. Coombs [Thu, 17 Nov 2011 23:03:24 +0000 (18:03 -0500)]
PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750

13 years agofixing typos in optparse doc
Eli Bendersky [Wed, 16 Nov 2011 04:01:14 +0000 (06:01 +0200)]
fixing typos in optparse doc

13 years agoremove duplicated paragraph in the tutorial
Eli Bendersky [Wed, 16 Nov 2011 03:54:07 +0000 (05:54 +0200)]
remove duplicated paragraph in the tutorial

13 years agoIssue #8793: Prevent IDLE crash in 2.7 when given strings with
Ned Deily [Wed, 16 Nov 2011 02:29:02 +0000 (18:29 -0800)]
Issue #8793: Prevent IDLE crash in 2.7 when given strings with
invalid hex escape sequences.

13 years agoIssue #13333: The UTF-7 decoder now accepts lone surrogates
Antoine Pitrou [Tue, 15 Nov 2011 00:49:40 +0000 (01:49 +0100)]
Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).

13 years agoIssue #7732: Try to fix the a failing test on Windows
Victor Stinner [Mon, 14 Nov 2011 19:50:36 +0000 (20:50 +0100)]
Issue #7732: Try to fix the a failing test on Windows

It doesn't matter if imp.find_module() fails with ImportError or IOError, but
it should not crash.

13 years ago#1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser.
Ezio Melotti [Mon, 14 Nov 2011 16:04:05 +0000 (18:04 +0200)]
#1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser.

13 years agoGroup tests about attributes in a separate class.
Ezio Melotti [Tue, 8 Nov 2011 00:07:18 +0000 (02:07 +0200)]
Group tests about attributes in a separate class.

13 years agoNormalize the keyword arguments documentation notation in re.rst. Closes issue #12875
Eli Bendersky [Sun, 13 Nov 2011 23:02:20 +0000 (01:02 +0200)]
Normalize the keyword arguments documentation notation in re.rst. Closes issue #12875

13 years agoMerge heads
Petri Lehtinen [Sat, 12 Nov 2011 19:24:00 +0000 (21:24 +0200)]
Merge heads

13 years agoUpdate mailbox.Maildir tests
Petri Lehtinen [Sat, 12 Nov 2011 19:02:42 +0000 (21:02 +0200)]
Update mailbox.Maildir tests

Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().

Closes #11999
Refs #13254

13 years agoCloses issue 12767: document the argument of threading.Condition.notify
Eli Bendersky [Sat, 12 Nov 2011 18:51:54 +0000 (20:51 +0200)]
Closes issue 12767: document the argument of threading.Condition.notify

13 years agoIssue #13193: Fix distutils.filelist.FileList under Windows. The
Antoine Pitrou [Sat, 12 Nov 2011 00:33:59 +0000 (01:33 +0100)]
Issue #13193: Fix distutils.filelist.FileList under Windows.  The
"recursive-include" directive now recognizes both legal path separators.

13 years agoIssue #12875: explicitly specify default value of the optional 'flags' argument to...
Eli Bendersky [Fri, 11 Nov 2011 19:25:56 +0000 (21:25 +0200)]
Issue #12875: explicitly specify default value of the optional 'flags' argument to re.* functions. Closes #12875

13 years agoIssue #13161: fix doc strings of __i*__ operators
Eli Bendersky [Fri, 11 Nov 2011 14:52:16 +0000 (16:52 +0200)]
Issue #13161: fix doc strings of __i*__ operators

13 years agoIssue #13191: typo in argparse docs
Eli Bendersky [Fri, 11 Nov 2011 14:42:11 +0000 (16:42 +0200)]
Issue #13191: typo in argparse docs

13 years agoIssue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
Antoine Pitrou [Wed, 9 Nov 2011 23:33:50 +0000 (00:33 +0100)]
Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout.  Patch by Arnaud Ysmal.

13 years agoPartial patch for issue #11812: Take care of test_telnetlib.py
Jesus Cea [Tue, 8 Nov 2011 15:06:44 +0000 (16:06 +0100)]
Partial patch for issue #11812: Take care of test_telnetlib.py

13 years agoSolved a potential deadlock in test_telnetlib.py. Related to issue #11812
Jesus Cea [Tue, 8 Nov 2011 14:54:42 +0000 (15:54 +0100)]
Solved a potential deadlock in test_telnetlib.py. Related to issue #11812

13 years agoCloses #13361: Raise correct exception type.
Vinay Sajip [Mon, 7 Nov 2011 10:13:18 +0000 (10:13 +0000)]
Closes #13361: Raise correct exception type.

13 years agoCloses #13661: Check added for type of logger name.
Vinay Sajip [Mon, 7 Nov 2011 08:49:16 +0000 (08:49 +0000)]
Closes #13661: Check added for type of logger name.

13 years agoCloses #13356. Thanks to Florent Xicluna for the patch.
Vinay Sajip [Mon, 7 Nov 2011 08:43:51 +0000 (08:43 +0000)]
Closes #13356. Thanks to Florent Xicluna for the patch.

13 years agoCloses issue #13353: version doumentation about utc parameter corrected.
Vinay Sajip [Sun, 6 Nov 2011 22:37:17 +0000 (22:37 +0000)]
Closes issue #13353: version doumentation about utc parameter corrected.

13 years agoRevert "Accept None as start and stop parameters for list.index() and tuple.index()"
Petri Lehtinen [Sun, 6 Nov 2011 18:58:50 +0000 (20:58 +0200)]
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"

Issue #13340.

13 years agoSilence a couple of warnings.
Ezio Melotti [Sun, 6 Nov 2011 16:50:32 +0000 (18:50 +0200)]
Silence a couple of warnings.

13 years agoFix another callable warning.
Ezio Melotti [Sun, 6 Nov 2011 15:50:52 +0000 (17:50 +0200)]
Fix another callable warning.

13 years agoFix tests now that the callable warning is gone.
Ezio Melotti [Sun, 6 Nov 2011 15:17:52 +0000 (17:17 +0200)]
Fix tests now that the callable warning is gone.

13 years agoremove py3k warning for callable
Benjamin Peterson [Sun, 6 Nov 2011 13:20:12 +0000 (08:20 -0500)]
remove py3k warning for callable

13 years agoAccept None as start and stop parameters for list.index() and tuple.index()
Petri Lehtinen [Sat, 5 Nov 2011 21:18:06 +0000 (23:18 +0200)]
Accept None as start and stop parameters for list.index() and tuple.index()

Closes #13340.

13 years agoAdd missing versionadded (fixes #12392)
Éric Araujo [Sat, 5 Nov 2011 16:55:03 +0000 (17:55 +0100)]
Add missing versionadded (fixes #12392)

13 years agoIssue #3067: Enhance the documentation and docstring of locale.setlocale()
Petri Lehtinen [Sat, 5 Nov 2011 08:18:50 +0000 (10:18 +0200)]
Issue #3067: Enhance the documentation and docstring of locale.setlocale()

13 years agoFix Maildir initialization so that maildir contents are read correctly.
Petri Lehtinen [Sat, 5 Nov 2011 07:50:37 +0000 (09:50 +0200)]
Fix Maildir initialization so that maildir contents  are read correctly.

Closes #13254.

13 years agoFix typos
Raymond Hettinger [Fri, 4 Nov 2011 21:05:52 +0000 (14:05 -0700)]
Fix typos

13 years agoAdd .gitignore
Petri Lehtinen [Fri, 4 Nov 2011 19:25:46 +0000 (21:25 +0200)]
Add .gitignore

13 years agoInline the advisory text on how to use the shelve module.
Raymond Hettinger [Fri, 4 Nov 2011 20:07:52 +0000 (13:07 -0700)]
Inline the advisory text on how to use the shelve module.

13 years agoRevert commit that was not a bugfix (#5301).
Éric Araujo [Fri, 4 Nov 2011 17:15:45 +0000 (18:15 +0100)]
Revert commit that was not a bugfix (#5301).

I won’t revert in 3.2, since Georg pulled this change in 3.2.2 and
released it.

13 years agoIssue #13140: Fix the daemon_threads attribute of ThreadingMixIn.
Florent Xicluna [Fri, 4 Nov 2011 09:15:57 +0000 (10:15 +0100)]
Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn.

13 years agoIssue #13308: Fix test_httpservers failures when run as root.
Charles-François Natali [Wed, 2 Nov 2011 18:32:54 +0000 (19:32 +0100)]
Issue #13308: Fix test_httpservers failures when run as root.

13 years agoFix Issue13147 - Correct the Multiprocessing Pool.map_async method signature.
Senthil Kumaran [Wed, 2 Nov 2011 18:02:38 +0000 (02:02 +0800)]
Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature.
Remove the error_callback which is not present in 2.7. Patch by Jyrki
Pulliainen.

13 years agoFix merge in changeset e1dde980a92c.
Florent Xicluna [Tue, 1 Nov 2011 22:54:16 +0000 (23:54 +0100)]
Fix merge in changeset e1dde980a92c.

13 years agoMissing NEWS entry in changeset e1dde980a92c
Florent Xicluna [Tue, 1 Nov 2011 22:47:46 +0000 (23:47 +0100)]
Missing NEWS entry in changeset e1dde980a92c

13 years agoIssue #2892: preserve iterparse events in case of SyntaxError
Florent Xicluna [Tue, 1 Nov 2011 22:34:41 +0000 (23:34 +0100)]
Issue #2892: preserve iterparse events in case of SyntaxError

13 years ago#670664: Fix HTMLParser to correctly handle the content of ``<script>...</script...
Ezio Melotti [Tue, 1 Nov 2011 12:09:56 +0000 (14:09 +0200)]
#670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.

13 years agocorrect signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@
Sandro Tosi [Tue, 1 Nov 2011 09:31:26 +0000 (10:31 +0100)]
correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@

13 years agoIssue #13304: Skip test case if user site-packages disabled (-s or
Ned Deily [Mon, 31 Oct 2011 23:14:52 +0000 (16:14 -0700)]
Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)

13 years agoBackout redundant changeset 1de4d92cd6a4
Antoine Pitrou [Mon, 31 Oct 2011 19:23:00 +0000 (20:23 +0100)]
Backout redundant changeset 1de4d92cd6a4

13 years agoPort to 2.7 - issue 10817 - Fix urlretrieve function to raise
Senthil Kumaran [Mon, 31 Oct 2011 18:44:45 +0000 (02:44 +0800)]
Port to 2.7 - issue 10817 - Fix urlretrieve function to raise
ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.

13 years agomerge heads
Sandro Tosi [Mon, 31 Oct 2011 18:23:25 +0000 (19:23 +0100)]
merge heads

13 years agoreally use backticks in string conversion definition; thanks to Jonathan Blakes from...
Sandro Tosi [Mon, 31 Oct 2011 18:19:26 +0000 (19:19 +0100)]
really use backticks in string conversion definition; thanks to Jonathan Blakes from docs@

13 years agotest_protocol_sslv2(): Skip this test if ssl.PROTOCOL_SSLv2 is not
Barry Warsaw [Mon, 31 Oct 2011 18:08:15 +0000 (14:08 -0400)]
test_protocol_sslv2(): Skip this test if ssl.PROTOCOL_SSLv2 is not
defined (as is the case with Ubuntu 11.10).

13 years agouse diveintopython.net now that DIP.org returns 410; thanks to Josh Gachnang from...
Sandro Tosi [Mon, 31 Oct 2011 16:45:09 +0000 (17:45 +0100)]
use diveintopython.net now that DIP.org returns 410; thanks to Josh Gachnang from docs@

13 years agoremove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@
Sandro Tosi [Mon, 31 Oct 2011 16:15:03 +0000 (17:15 +0100)]
remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@

13 years agoCloses #13283: removal of two unused variable in locale.py
Jesus Cea [Mon, 31 Oct 2011 15:02:12 +0000 (16:02 +0100)]
Closes #13283: removal of two unused variable in locale.py

13 years agomerge closing of 2.5 branch
Martin v. Löwis [Mon, 31 Oct 2011 11:40:25 +0000 (12:40 +0100)]
merge closing of 2.5 branch

13 years agomerge closing of 2.5 branch
Martin v. Löwis [Mon, 31 Oct 2011 11:39:25 +0000 (12:39 +0100)]
merge closing of 2.5 branch

13 years ago2.5 is no longer maintained 2.5
Martin v. Löwis [Mon, 31 Oct 2011 11:38:50 +0000 (12:38 +0100)]
2.5 is no longer maintained

13 years agodocument turtle mainloop()/done() functions; thanks to Csaba Szepesvari from docs@
Sandro Tosi [Mon, 31 Oct 2011 09:08:14 +0000 (10:08 +0100)]
document turtle mainloop()/done() functions; thanks to Csaba Szepesvari from docs@

13 years agoIssue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
Ned Deily [Mon, 31 Oct 2011 02:58:04 +0000 (19:58 -0700)]
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)

13 years agocaught is the right pp of catch; thanks to Don Bennett from docs@
Sandro Tosi [Mon, 31 Oct 2011 01:40:26 +0000 (02:40 +0100)]
caught is the right pp of catch; thanks to Don Bennett from docs@

13 years agoImprove itertools docs with clearer examples of pure python equivalent code.
Raymond Hettinger [Sun, 30 Oct 2011 21:53:17 +0000 (14:53 -0700)]
Improve itertools docs with clearer examples of pure python equivalent code.

13 years agoIssue 13274: Make the pure python code for heapq more closely match the C implementa...
Raymond Hettinger [Sun, 30 Oct 2011 21:29:06 +0000 (14:29 -0700)]
Issue 13274:  Make the pure python code for heapq more closely match the C implementation for an undefined corner case.

13 years agoRemove unstable SSL tests in the absence of ssl.OP_NO_{SSLv2,SSLv3,TLSv1}
Antoine Pitrou [Sun, 30 Oct 2011 20:31:34 +0000 (21:31 +0100)]
Remove unstable SSL tests in the absence of ssl.OP_NO_{SSLv2,SSLv3,TLSv1}

13 years agoAdd Misc/NEWS entry for issue #10519
Petri Lehtinen [Sun, 30 Oct 2011 18:59:10 +0000 (20:59 +0200)]
Add Misc/NEWS entry for issue #10519

13 years agoremove unused variable
Benjamin Peterson [Sun, 30 Oct 2011 18:24:44 +0000 (14:24 -0400)]
remove unused variable

13 years agoFix the return value of set_discard (issue #10519)
Petri Lehtinen [Sun, 30 Oct 2011 12:31:27 +0000 (14:31 +0200)]
Fix the return value of set_discard (issue #10519)

13 years agoAvoid unnecessary recursive function calls (closes #10519)
Petri Lehtinen [Sun, 30 Oct 2011 11:55:02 +0000 (13:55 +0200)]
Avoid unnecessary recursive function calls (closes #10519)

13 years agoAdd a button to the code examples in the doc to show/hide the prompts and output.
Ezio Melotti [Sun, 30 Oct 2011 07:19:33 +0000 (09:19 +0200)]
Add a button to the code examples in the doc to show/hide the prompts and output.

13 years ago#13289: fix typo.
Ezio Melotti [Sat, 29 Oct 2011 07:40:20 +0000 (10:40 +0300)]
#13289: fix typo.

13 years agoCloses #7334: close source files on ElementTree.parse and iterparse (partial backport...
Florent Xicluna [Sat, 29 Oct 2011 01:38:56 +0000 (03:38 +0200)]
Closes #7334: close source files on ElementTree.parse and iterparse (partial backport of issue #10093 from 3.2).

13 years agobring is_integer into tested existence
Benjamin Peterson [Fri, 28 Oct 2011 23:42:48 +0000 (19:42 -0400)]
bring is_integer into tested existence

13 years agoOops, put fix news in the right section.
Barry Warsaw [Fri, 28 Oct 2011 20:16:58 +0000 (16:16 -0400)]
Oops, put fix news in the right section.

13 years ago- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
Barry Warsaw [Fri, 28 Oct 2011 20:14:44 +0000 (16:14 -0400)]
- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.

13 years agoMinor fixes to the HTMLParser doc.
Ezio Melotti [Fri, 28 Oct 2011 11:20:08 +0000 (14:20 +0300)]
Minor fixes to the HTMLParser doc.

13 years agoImprove HTMLParser example in the doc.
Ezio Melotti [Fri, 28 Oct 2011 11:14:34 +0000 (14:14 +0300)]
Improve HTMLParser example in the doc.

13 years ago#13278: fix typo.
Ezio Melotti [Fri, 28 Oct 2011 09:22:25 +0000 (12:22 +0300)]
#13278: fix typo.

13 years agoAdded lost documentation cross-reference.
Vinay Sajip [Thu, 27 Oct 2011 16:51:13 +0000 (17:51 +0100)]
Added lost documentation cross-reference.

13 years agoadjust for change in assert bytecode
Benjamin Peterson [Thu, 27 Oct 2011 12:53:32 +0000 (08:53 -0400)]
adjust for change in assert bytecode

13 years agomerge heads
Benjamin Peterson [Thu, 27 Oct 2011 12:22:27 +0000 (08:22 -0400)]
merge heads

13 years agodon't let a tuple msg be interpreted as arguments to AssertionError (closes #13268)
Benjamin Peterson [Thu, 27 Oct 2011 12:21:59 +0000 (08:21 -0400)]
don't let a tuple msg be interpreted as arguments to AssertionError (closes #13268)

13 years agoadd a test for an assertion with tuple msg
Benjamin Peterson [Thu, 27 Oct 2011 12:20:01 +0000 (08:20 -0400)]
add a test for an assertion with tuple msg

13 years agoIssue #13237: Make the subprocess convenience helper documentation self-contained...
Nick Coghlan [Thu, 27 Oct 2011 07:55:13 +0000 (17:55 +1000)]
Issue #13237: Make the subprocess convenience helper documentation self-contained aside from the shared parameter description. Downgrade the pipe warnings at that level to notes (since those pipes are hidden, people are unlikely to even try it)

13 years agoIssue #10860: Skip the new test if HTTPS is not available
Petri Lehtinen [Wed, 26 Oct 2011 18:25:56 +0000 (21:25 +0300)]
Issue #10860: Skip the new test if HTTPS is not available

13 years agoIssue #13237: fix typo
Nick Coghlan [Wed, 26 Oct 2011 11:34:26 +0000 (21:34 +1000)]
Issue #13237: fix typo

13 years agoIssue #13237: remove some details that only apply to the 3.x version of this module...
Nick Coghlan [Wed, 26 Oct 2011 11:15:53 +0000 (21:15 +1000)]
Issue #13237: remove some details that only apply to the 3.x version of this module and cross reference the relocated warning about the dangers of invoking the shell with untrusted input

13 years agoIssue #13237: further updates to subprocess documentation
Nick Coghlan [Wed, 26 Oct 2011 11:05:56 +0000 (21:05 +1000)]
Issue #13237: further updates to subprocess documentation

13 years agoCorrected typo in comment.
Vinay Sajip [Tue, 25 Oct 2011 10:10:54 +0000 (11:10 +0100)]
Corrected typo in comment.

13 years agoRefactor a bit the codecs doc.
Ezio Melotti [Tue, 25 Oct 2011 07:46:22 +0000 (10:46 +0300)]
Refactor a bit the codecs doc.

13 years agoUpdated NEWS with fix for 13232.
Vinay Sajip [Mon, 24 Oct 2011 22:26:00 +0000 (23:26 +0100)]
Updated NEWS with fix for 13232.

13 years agoCloses #13232: Handle multiple encodings in exception logging.
Vinay Sajip [Mon, 24 Oct 2011 22:23:02 +0000 (23:23 +0100)]
Closes #13232: Handle multiple encodings in exception logging.

13 years agomerge heads
Petri Lehtinen [Mon, 24 Oct 2011 18:29:20 +0000 (21:29 +0300)]
merge heads

13 years agoIssue #13018: Fix reference leaks in error paths in dictobject.c.
Petri Lehtinen [Mon, 24 Oct 2011 17:59:29 +0000 (20:59 +0300)]
Issue #13018: Fix reference leaks in error paths in dictobject.c.
Patch by Suman Saha.

13 years agoIssue #10332: multiprocessing: fix a race condition when a Pool is closed
Charles-François Natali [Mon, 24 Oct 2011 16:43:51 +0000 (18:43 +0200)]
Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.

13 years agomerge heads
Benjamin Peterson [Mon, 24 Oct 2011 12:51:46 +0000 (08:51 -0400)]
merge heads

13 years agonote callable is back in 3.2
Benjamin Peterson [Mon, 24 Oct 2011 12:51:15 +0000 (08:51 -0400)]
note callable is back in 3.2

13 years agoIssue #13237: Rearrange subprocess module documentation to emphasise the convenience...
Nick Coghlan [Mon, 24 Oct 2011 12:19:40 +0000 (22:19 +1000)]
Issue #13237: Rearrange subprocess module documentation to emphasise the convenience functions and commonly needed arguments

13 years agoIssue #13141: Demonstrate recommended style for SocketServer examples.
Florent Xicluna [Sun, 23 Oct 2011 21:07:22 +0000 (23:07 +0200)]
Issue #13141: Demonstrate recommended style for SocketServer examples.

13 years agoWhoops, PyException_GetTraceback() is not documented on 2.7
Petri Lehtinen [Sun, 23 Oct 2011 18:52:10 +0000 (21:52 +0300)]
Whoops, PyException_GetTraceback() is not documented on 2.7