]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
14 years agoRemove duplicate ACKS.
Florent Xicluna [Fri, 11 Nov 2011 18:21:22 +0000 (19:21 +0100)] 
Remove duplicate ACKS.

14 years agoFix #13384. Remove __future__ import in 3.x code.
Brian Curtin [Fri, 11 Nov 2011 15:37:25 +0000 (09:37 -0600)] 
Fix #13384. Remove __future__ import in 3.x code.

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

14 years agoIssue #13191: typo in argparse docs
Eli Bendersky [Fri, 11 Nov 2011 08:57:01 +0000 (10:57 +0200)] 
Issue #13191: typo in argparse docs

14 years agoIssue #13365: correct an error in the documentation of str.expandtabs
Eli Bendersky [Fri, 11 Nov 2011 08:40:14 +0000 (10:40 +0200)] 
Issue #13365: correct an error in the documentation of str.expandtabs

14 years ago#13379: update Unicode version in unicodedata docstrings and comments.
Ezio Melotti [Thu, 10 Nov 2011 07:36:34 +0000 (09:36 +0200)] 
#13379: update Unicode version in unicodedata docstrings and comments.

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

14 years agotest_import: test_execute_bit_not_copied() was actually a no-op: fix it.
Charles-François Natali [Tue, 8 Nov 2011 18:42:02 +0000 (19:42 +0100)] 
test_import: test_execute_bit_not_copied() was actually a no-op: fix it.

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

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

14 years agoIssue #13237: Fix formatting error - the legacy shell commands weren't meant to be...
Nick Coghlan [Tue, 8 Nov 2011 11:50:58 +0000 (21:50 +1000)] 
Issue #13237: Fix formatting error - the legacy shell commands weren't meant to be under the Notes heading

14 years agoIssue #13237: Remove duplicate data value descriptions from the subprocess docs
Nick Coghlan [Tue, 8 Nov 2011 11:39:07 +0000 (21:39 +1000)] 
Issue #13237: Remove duplicate data value descriptions from the subprocess docs

14 years agoIssue #13237: Forward port subprocess module updates and explicitly document UTF...
Nick Coghlan [Tue, 8 Nov 2011 10:49:23 +0000 (20:49 +1000)] 
Issue #13237: Forward port subprocess module updates and explicitly document UTF-8 encoding assumption when universal_newlines=True

14 years agoDon’t interpret backslashes in ASCII diagram in a docstring
Éric Araujo [Mon, 7 Nov 2011 16:52:48 +0000 (17:52 +0100)] 
Don’t interpret backslashes in ASCII diagram in a docstring

14 years agoDocument that shutil.make_archive does not typecheck its logger argument
Éric Araujo [Mon, 7 Nov 2011 16:31:07 +0000 (17:31 +0100)] 
Document that shutil.make_archive does not typecheck its logger argument

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

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

14 years agoRevert "Accept None as start and stop parameters for list.index() and tuple.index()"
Petri Lehtinen [Sun, 6 Nov 2011 19:02:39 +0000 (21:02 +0200)] 
Revert "Accept None as start and stop parameters for list.index() and tuple.index()"

Issue #13340.

14 years agocurses.tparm() is expecting a byte string, not curses.tigetstr()
Petri Lehtinen [Sun, 6 Nov 2011 07:24:19 +0000 (09:24 +0200)] 
curses.tparm() is expecting a byte string, not curses.tigetstr()

Issue #10570

14 years agoSkip early if stdin and stdout are not ttys
Antoine Pitrou [Sun, 6 Nov 2011 02:03:18 +0000 (03:03 +0100)] 
Skip early if stdin and stdout are not ttys

14 years agoBackport robustness fix for test_builtin
Antoine Pitrou [Sun, 6 Nov 2011 01:51:25 +0000 (02:51 +0100)] 
Backport robustness fix for test_builtin

14 years agoIssue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
Antoine Pitrou [Sat, 5 Nov 2011 23:34:26 +0000 (00:34 +0100)] 
Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
error handler in interactive mode (when calling into PyOS_Readline()).

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

Closes #13340.

14 years agoImprove Counter.__repr__() to not fail with unorderable values
Raymond Hettinger [Sat, 5 Nov 2011 20:35:26 +0000 (13:35 -0700)] 
Improve Counter.__repr__() to not fail with unorderable values

14 years agoUpdate .gitignore
Petri Lehtinen [Sat, 5 Nov 2011 20:06:30 +0000 (22:06 +0200)] 
Update .gitignore

14 years agoRemove __pycache__ directories correctly on OpenBSD
Petri Lehtinen [Sat, 5 Nov 2011 19:04:24 +0000 (21:04 +0200)] 
Remove __pycache__ directories correctly on OpenBSD

The find utility of OpenBSD doesn't support the "-exec cmd {} +"
action. Change it to use "-depth -exec cmd {} ;" instead.

Also, remove __pycache__ before *.py[co], as most bytecode files are
in __pycache__ directories. Only those generated by Python 2 under
Doc/tools are not.

Closes #13326.

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

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

Closes #13254.

14 years agoIssue #13343: Fix a SystemError when a lambda expression uses a global
Amaury Forgeot d'Arc [Fri, 4 Nov 2011 21:17:45 +0000 (22:17 +0100)] 
Issue #13343: Fix a SystemError when a lambda expression uses a global
variable in the default value of a keyword-only argument:
(lambda *, arg=GLOBAL_NAME: None)

14 years agoIssue #3067: Fix the error raised by locale.setlocale()
Petri Lehtinen [Fri, 4 Nov 2011 19:35:07 +0000 (21:35 +0200)] 
Issue #3067: Fix the error raised by locale.setlocale()

14 years agoCloses #13140: Fix the daemon_threads attribute of ThreadingMixIn.
Florent Xicluna [Fri, 4 Nov 2011 09:16:28 +0000 (10:16 +0100)] 
Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn.

14 years agoIssue #13339: Fix compile error in posixmodule.c due to missing semicolon.
Ross Lagerwall [Fri, 4 Nov 2011 05:09:14 +0000 (07:09 +0200)] 
Issue #13339: Fix compile error in posixmodule.c due to missing semicolon.
Thanks to Robert Xiao.

14 years agoIssue #12342: Improve _tkinter error message on unencodable character
Victor Stinner [Thu, 3 Nov 2011 23:36:46 +0000 (00:36 +0100)] 
Issue #12342: Improve _tkinter error message on unencodable character

14 years agoIssue #10570: curses.putp() is now expecting a byte string, instead of a
Victor Stinner [Thu, 3 Nov 2011 19:35:40 +0000 (20:35 +0100)] 
Issue #10570: curses.putp() is now expecting a byte string, instead of a
Unicode string.

This is an incompatible change, but putp() is used to emit terminfo commands,
which are bytes strings, not Unicode strings.

14 years agoBranch merge
Éric Araujo [Thu, 3 Nov 2011 15:27:57 +0000 (16:27 +0100)] 
Branch merge

14 years agoAvoid relying on the default reST role in logging library doc
Éric Araujo [Thu, 3 Nov 2011 03:35:20 +0000 (04:35 +0100)] 
Avoid relying on the default reST role in logging library doc

14 years agoFix incorrect docstring I changed a while back.
Éric Araujo [Thu, 3 Nov 2011 03:34:09 +0000 (04:34 +0100)] 
Fix incorrect docstring I changed a while back.

New wording is taken straight from the PEP, so this time should be good
:)

14 years agoMore fixes for PEP 3147 compliance in distutils (#11254)
Éric Araujo [Thu, 3 Nov 2011 02:45:33 +0000 (03:45 +0100)] 
More fixes for PEP 3147 compliance in distutils (#11254)

14 years agoAdd signatures to the docstring of functions added to imp by PEP 3147
Éric Araujo [Thu, 3 Nov 2011 02:38:44 +0000 (03:38 +0100)] 
Add signatures to the docstring of functions added to imp by PEP 3147

14 years agoState explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B
Éric Araujo [Thu, 3 Nov 2011 02:20:43 +0000 (03:20 +0100)] 
State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B

14 years agoIssue #13307: fix bdist_rpm test failures
Antoine Pitrou [Thu, 3 Nov 2011 01:45:46 +0000 (02:45 +0100)] 
Issue #13307: fix bdist_rpm test failures

14 years agoFix typo
Éric Araujo [Wed, 2 Nov 2011 23:08:48 +0000 (00:08 +0100)] 
Fix typo

14 years agoIssue #10570: curses.tigetstr() is now expecting a byte string, instead of a
Victor Stinner [Wed, 2 Nov 2011 22:45:29 +0000 (23:45 +0100)] 
Issue #10570: curses.tigetstr() is now expecting a byte string, instead of a
Unicode string.

This is an incompatible change, but the previous behaviour was completly wrong.

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

14 years agoCleanups in distutils tests.
Éric Araujo [Wed, 2 Nov 2011 17:05:41 +0000 (18:05 +0100)] 
Cleanups in distutils tests.

- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it smells like a disabled test
  method instead of an helper method
- Fix some idioms (assertIn, addCleanup)

14 years agoCloses #2892: preserve iterparse events in case of SyntaxError.
Florent Xicluna [Tue, 1 Nov 2011 22:31:09 +0000 (23:31 +0100)] 
Closes #2892: preserve iterparse events in case of SyntaxError.

14 years agoMake sure that the tolerant parser still parses valid HTML correctly.
Ezio Melotti [Tue, 1 Nov 2011 16:57:15 +0000 (18:57 +0200)] 
Make sure that the tolerant parser still parses valid HTML correctly.

14 years agoAvoid reusing the same collector in the tests.
Ezio Melotti [Tue, 1 Nov 2011 13:00:59 +0000 (15:00 +0200)] 
Avoid reusing the same collector in the tests.

14 years ago#12008: add a test.
Ezio Melotti [Tue, 1 Nov 2011 12:42:54 +0000 (14:42 +0200)] 
#12008: add a test.

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

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

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

14 years agoFix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
Senthil Kumaran [Mon, 31 Oct 2011 17:35:17 +0000 (01:35 +0800)] 
Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.

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

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

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

14 years agodocument turtle done() function; thanks to Csaba Szepesvari from docs@
Sandro Tosi [Mon, 31 Oct 2011 09:12:43 +0000 (10:12 +0100)] 
document turtle done() function; thanks to Csaba Szepesvari from docs@

14 years agoIssue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
Ned Deily [Mon, 31 Oct 2011 03:01:35 +0000 (20:01 -0700)] 
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)

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

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

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

14 years agoMerge heads
Florent Xicluna [Sun, 30 Oct 2011 19:26:28 +0000 (20:26 +0100)] 
Merge heads

14 years agoIssue #13293: Better error message when trying to marshal bytes using xmlrpc.client.
Florent Xicluna [Sun, 30 Oct 2011 19:22:25 +0000 (20:22 +0100)] 
Issue #13293: Better error message when trying to marshal bytes using xmlrpc.client.

14 years agoCleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.
Florent Xicluna [Sun, 30 Oct 2011 19:19:32 +0000 (20:19 +0100)] 
Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.

14 years agoCloses #13291: NameError in xmlrpc package.
Florent Xicluna [Sun, 30 Oct 2011 19:18:50 +0000 (20:18 +0100)] 
Closes #13291: NameError in xmlrpc package.

14 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

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

14 years agoIssue #10363: Deallocate global locks in Py_Finalize().
Antoine Pitrou [Sun, 30 Oct 2011 18:13:55 +0000 (19:13 +0100)] 
Issue #10363: Deallocate global locks in Py_Finalize().

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

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

14 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:20:19 +0000 (09:20 +0200)] 
Add a button to the code examples in the doc to show/hide the prompts and output.

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

14 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

14 years ago- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
Barry Warsaw [Fri, 28 Oct 2011 21:02:27 +0000 (17:02 -0400)] 
- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.

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

14 years agoDocumentation typo
Florent Xicluna [Fri, 28 Oct 2011 20:14:41 +0000 (22:14 +0200)] 
Documentation typo

14 years agoI should be someone
Florent Xicluna [Fri, 28 Oct 2011 20:03:55 +0000 (22:03 +0200)] 
I should be someone

14 years agoRemove unused variable.
Florent Xicluna [Fri, 28 Oct 2011 13:00:50 +0000 (15:00 +0200)] 
Remove unused variable.

14 years agoCloses #13258: Use callable() built-in in the standard library.
Florent Xicluna [Fri, 28 Oct 2011 12:45:05 +0000 (14:45 +0200)] 
Closes #13258: Use callable() built-in in the standard library.

14 years agoImprove HTMLParser example in the doc and fix a couple minor things.
Ezio Melotti [Fri, 28 Oct 2011 11:34:56 +0000 (14:34 +0300)] 
Improve HTMLParser example in the doc and fix a couple minor things.

14 years ago#13273: fix a bug that prevented HTMLParser to properly detect some tags when strict...
Ezio Melotti [Fri, 28 Oct 2011 10:21:09 +0000 (13:21 +0300)] 
#13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False.

14 years agoMerge heads.
Ezio Melotti [Fri, 28 Oct 2011 09:32:53 +0000 (12:32 +0300)] 
Merge heads.

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

14 years agoFixes #13270: obsolete reference to old-style/new-style classes.
Florent Xicluna [Fri, 28 Oct 2011 09:21:19 +0000 (11:21 +0200)] 
Fixes #13270: obsolete reference to old-style/new-style classes.

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

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

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

14 years agoFix typo.
Ezio Melotti [Tue, 25 Oct 2011 06:41:13 +0000 (09:41 +0300)] 
Fix typo.

14 years agomerge heads
Benjamin Peterson [Tue, 25 Oct 2011 04:04:37 +0000 (00:04 -0400)] 
merge heads

14 years agodocument __bytes__ special method (closes #13259)
Benjamin Peterson [Tue, 25 Oct 2011 04:03:51 +0000 (00:03 -0400)] 
document __bytes__ special method (closes #13259)

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

14 years agoIssue #13018: Fix reference leaks in error paths in dictobject.c.
Petri Lehtinen [Mon, 24 Oct 2011 18:12:58 +0000 (21:12 +0300)] 
Issue #13018: Fix reference leaks in error paths in dictobject.c.
Patch by Suman Saha.

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

14 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

14 years agoIssue #13255: wrong docstrings in array module.
Florent Xicluna [Mon, 24 Oct 2011 11:14:55 +0000 (13:14 +0200)] 
Issue #13255: wrong docstrings in array module.

14 years agoIssue 13141: Demonstrate recommended style for socketserver examples.
Florent Xicluna [Sun, 23 Oct 2011 20:40:37 +0000 (22:40 +0200)] 
Issue 13141: Demonstrate recommended style for socketserver examples.

14 years agoAdd the green "New reference" note to the doc of PyException_GetTraceback()
Petri Lehtinen [Sun, 23 Oct 2011 18:03:33 +0000 (21:03 +0300)] 
Add the green "New reference" note to the doc of PyException_GetTraceback()

14 years agoIssue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass...
Nick Coghlan [Sun, 23 Oct 2011 12:04:16 +0000 (22:04 +1000)] 
Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.

14 years agoIssue #9168: now smtpd is able to bind privileged port.
Florent Xicluna [Thu, 20 Oct 2011 21:03:43 +0000 (23:03 +0200)] 
Issue #9168: now smtpd is able to bind privileged port.

14 years ago#13233: fix typo.
Ezio Melotti [Thu, 20 Oct 2011 16:51:18 +0000 (19:51 +0300)] 
#13233: fix typo.