]> granicus.if.org Git - python/log
python
12 years agoIssue #14157: Fix time.strptime failing without a year on February 29th.
Antoine Pitrou [Thu, 10 May 2012 18:17:46 +0000 (20:17 +0200)]
Issue #14157: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.

12 years agoSome nits in the pickle docs.
Antoine Pitrou [Thu, 10 May 2012 13:38:30 +0000 (15:38 +0200)]
Some nits in the pickle docs.

12 years agoRemoved outdated statement about pickle's and marshal's relative performance.
Antoine Pitrou [Thu, 10 May 2012 13:18:20 +0000 (15:18 +0200)]
Removed outdated statement about pickle's and marshal's relative performance.

12 years ago#14763: document default maxsplit value for str.split.
Ezio Melotti [Thu, 10 May 2012 12:30:42 +0000 (15:30 +0300)]
#14763: document default maxsplit value for str.split.

12 years agoCloses #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
Jesus Cea [Thu, 10 May 2012 03:10:50 +0000 (05:10 +0200)]
Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/'

12 years agoIssue #14761: Fix potential leak on an error case in the import machinery.
Antoine Pitrou [Wed, 9 May 2012 11:24:31 +0000 (13:24 +0200)]
Issue #14761: Fix potential leak on an error case in the import machinery.

12 years agoImprove the grammar of a non-sentence.
R David Murray [Wed, 9 May 2012 01:28:24 +0000 (21:28 -0400)]
Improve the grammar of a non-sentence.

12 years agofix possible refleak (closes #14752)
Benjamin Peterson [Tue, 8 May 2012 13:22:24 +0000 (09:22 -0400)]
fix possible refleak (closes #14752)

12 years agoIssue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.
Larry Hastings [Tue, 8 May 2012 10:51:18 +0000 (03:51 -0700)]
Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.

12 years agoremove basically bitrotted XXXs
Benjamin Peterson [Tue, 8 May 2012 02:23:48 +0000 (22:23 -0400)]
remove basically bitrotted XXXs

12 years agoIssue #14741: Fix missing support for ellipsis in parser module.
Mark Dickinson [Mon, 7 May 2012 16:24:04 +0000 (17:24 +0100)]
Issue #14741: Fix missing support for ellipsis in parser module.

12 years agoIssue #14697: Fix missing parser module support for set displays and set comprehensions.
Mark Dickinson [Mon, 7 May 2012 15:34:34 +0000 (16:34 +0100)]
Issue #14697: Fix missing parser module support for set displays and set comprehensions.

12 years agoIssue #14701: Add missing support for 'raise ... from' in parser module.
Mark Dickinson [Mon, 7 May 2012 11:01:27 +0000 (12:01 +0100)]
Issue #14701:  Add missing support for 'raise ... from' in parser module.

12 years agoFix issue number in Misc/NEWS.
Mark Dickinson [Mon, 7 May 2012 09:24:02 +0000 (10:24 +0100)]
Fix issue number in Misc/NEWS.

12 years agoFix document title for Sphinx.
Georg Brandl [Sun, 6 May 2012 19:39:35 +0000 (21:39 +0200)]
Fix document title for Sphinx.

12 years agoIssue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py.
Mark Dickinson [Sun, 6 May 2012 16:27:39 +0000 (17:27 +0100)]
Issue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py.

12 years ago#14034: fix indentation.
Ezio Melotti [Sun, 6 May 2012 14:05:16 +0000 (17:05 +0300)]
#14034: fix indentation.

12 years ago#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Sun, 6 May 2012 13:15:35 +0000 (16:15 +0300)]
#14034: added the argparse tutorial.  Patch by Tshepang Lekhonkhobe.

12 years ago#13183: backport fixes to test_pdb to 3.2 branch
Georg Brandl [Sun, 6 May 2012 09:50:00 +0000 (11:50 +0200)]
#13183: backport fixes to test_pdb to 3.2 branch

12 years agoFix for issue 14725 for 3.2 branch
Richard Oudkerk [Sat, 5 May 2012 19:41:23 +0000 (20:41 +0100)]
Fix for issue 14725 for 3.2 branch

12 years agoFix test connecting to sha256.tbs-internet.com.
Antoine Pitrou [Fri, 4 May 2012 14:26:02 +0000 (16:26 +0200)]
Fix test connecting to sha256.tbs-internet.com.
The certificate has changed and the test now needs SNI to pass.

12 years agoclose() doesn't take any args (closes #14717)
Benjamin Peterson [Thu, 3 May 2012 22:44:09 +0000 (18:44 -0400)]
close() doesn't take any args (closes #14717)

12 years agoChanged order of cleanup operations to be more sensible.
Vinay Sajip [Thu, 3 May 2012 11:06:52 +0000 (12:06 +0100)]
Changed order of cleanup operations to be more sensible.

12 years agoos.popen().close() returns None on success, not 0...
Charles-François Natali [Wed, 2 May 2012 18:49:14 +0000 (20:49 +0200)]
os.popen().close() returns None on success, not 0...

12 years agoIssue #14698: Make test_posix more robust when the current UID doesn't have an
Charles-François Natali [Wed, 2 May 2012 18:01:38 +0000 (20:01 +0200)]
Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.

12 years agofix windows test failure - issue13183
Senthil Kumaran [Wed, 2 May 2012 00:00:22 +0000 (08:00 +0800)]
fix windows test failure - issue13183

12 years agofix calling the classmethod descriptor directly (closes #14699)
Benjamin Peterson [Tue, 1 May 2012 13:51:09 +0000 (09:51 -0400)]
fix calling the classmethod descriptor directly (closes #14699)

12 years agoissue13183 - Fix pdb skipping frames after hitting a breakpoint and running step...
Senthil Kumaran [Tue, 1 May 2012 02:07:49 +0000 (10:07 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye

12 years agoIssue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.
Ned Deily [Mon, 30 Apr 2012 18:14:02 +0000 (11:14 -0700)]
Issue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.

12 years ago#14558: document the module, argv, and testLoader args of unittest.main.
Ezio Melotti [Mon, 30 Apr 2012 16:10:28 +0000 (19:10 +0300)]
#14558: document the module, argv, and testLoader args of unittest.main.

12 years agoIssue11352 - Update cgi module docs
Senthil Kumaran [Mon, 30 Apr 2012 14:43:13 +0000 (22:43 +0800)]
Issue11352 - Update cgi module docs

12 years agoIssue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed.
Martin v. Löwis [Mon, 30 Apr 2012 04:10:41 +0000 (06:10 +0200)]
Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed.

12 years agofixed test_imaplib failure on Win
Alexander Belopolsky [Sun, 29 Apr 2012 22:16:46 +0000 (18:16 -0400)]
fixed test_imaplib failure on Win

12 years agoIssue #14696: Fix parser module to understand 'nonlocal' declarations.
Mark Dickinson [Sun, 29 Apr 2012 21:18:31 +0000 (22:18 +0100)]
Issue #14696: Fix parser module to understand 'nonlocal' declarations.

12 years agoIssue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
Alexander Belopolsky [Sun, 29 Apr 2012 19:56:49 +0000 (15:56 -0400)]
Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
the DST transition.  Patch by Joe Peterson.

12 years agoIssue #9154: Fix parser module to understand function annotations.
Mark Dickinson [Sun, 29 Apr 2012 17:34:40 +0000 (18:34 +0100)]
Issue #9154:  Fix parser module to understand function annotations.

12 years agoIssue 14688: Fix typo
Raymond Hettinger [Sun, 29 Apr 2012 16:32:30 +0000 (09:32 -0700)]
Issue 14688: Fix typo

12 years ago#14236: fix docs for \S.
Ezio Melotti [Sun, 29 Apr 2012 10:35:55 +0000 (13:35 +0300)]
#14236: fix docs for \S.

12 years ago#14519: fix the regex used in the scanf example.
Ezio Melotti [Sun, 29 Apr 2012 08:47:28 +0000 (11:47 +0300)]
#14519: fix the regex used in the scanf example.

12 years agoFix markup in unittest doc.
Ezio Melotti [Sun, 29 Apr 2012 07:52:18 +0000 (10:52 +0300)]
Fix markup in unittest doc.

12 years agoFix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPReque...
Senthil Kumaran [Sun, 29 Apr 2012 05:41:03 +0000 (13:41 +0800)]
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler

12 years ago#14236: mention Unicode whitespace in \s documentation.
Ezio Melotti [Sun, 29 Apr 2012 05:23:25 +0000 (08:23 +0300)]
#14236: mention Unicode whitespace in \s documentation.

12 years ago#14461: fix wording.
Ezio Melotti [Sun, 29 Apr 2012 04:34:46 +0000 (07:34 +0300)]
#14461: fix wording.

12 years agoissue14427 - Document Request.get_header and Request.header_items
Senthil Kumaran [Sun, 29 Apr 2012 03:50:39 +0000 (11:50 +0800)]
issue14427 - Document Request.get_header and Request.header_items

12 years agohttplib - minor update to check empty response
Senthil Kumaran [Sun, 29 Apr 2012 02:39:49 +0000 (10:39 +0800)]
httplib - minor update to check empty response

12 years agohttplib test for early eof response. related to Issue13684
Senthil Kumaran [Sun, 29 Apr 2012 02:20:46 +0000 (10:20 +0800)]
httplib test for early eof response. related to Issue13684

12 years ago#14155: add a note about \b.
Ezio Melotti [Sun, 29 Apr 2012 01:52:30 +0000 (04:52 +0300)]
#14155: add a note about \b.

12 years agoIssue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions
Sandro Tosi [Sat, 28 Apr 2012 09:19:37 +0000 (11:19 +0200)]
Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions

12 years agoIssue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class...
Antoine Pitrou [Wed, 25 Apr 2012 12:56:46 +0000 (14:56 +0200)]
Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).

12 years agoFixed test to work on Windows.
Vinay Sajip [Wed, 25 Apr 2012 09:47:00 +0000 (10:47 +0100)]
Fixed test to work on Windows.

12 years agoIssue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John...
Vinay Sajip [Tue, 24 Apr 2012 22:25:30 +0000 (23:25 +0100)]
Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch.

12 years agoIssue #14160: TarFile.extractfile() failed to resolve symbolic links
Lars Gustäbel [Tue, 24 Apr 2012 19:04:40 +0000 (21:04 +0200)]
Issue #14160: TarFile.extractfile() failed to resolve symbolic links
when the links were not located in an archive subdirectory.

12 years agoIssue #14448: mention pytz; patch by Andrew Svetlov
Sandro Tosi [Tue, 24 Apr 2012 17:46:06 +0000 (19:46 +0200)]
Issue #14448: mention pytz; patch by Andrew Svetlov

12 years agoIssue #14554: correct example for captured_stdout(); patch by Tshepang Lekhonkhobe
Sandro Tosi [Tue, 24 Apr 2012 16:39:24 +0000 (18:39 +0200)]
Issue #14554: correct example for captured_stdout(); patch by Tshepang Lekhonkhobe

12 years agoIssue #13478: document timeit.default_timer()
Sandro Tosi [Tue, 24 Apr 2012 16:11:46 +0000 (18:11 +0200)]
Issue #13478: document timeit.default_timer()

12 years agoIssue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
Sandro Tosi [Tue, 24 Apr 2012 15:36:41 +0000 (17:36 +0200)]
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa

12 years agodon't use a slot wrapper from a different special method (closes #14658)
Benjamin Peterson [Tue, 24 Apr 2012 15:06:25 +0000 (11:06 -0400)]
don't use a slot wrapper from a different special method (closes #14658)

This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.

12 years ago#14640: Fix typos/syntax in pyporting.rst.
R David Murray [Mon, 23 Apr 2012 18:44:00 +0000 (14:44 -0400)]
#14640: Fix typos/syntax in pyporting.rst.

Patch by Dionysios Kalofonos.

12 years agoIssue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos
Sandro Tosi [Mon, 23 Apr 2012 17:45:07 +0000 (19:45 +0200)]
Issue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos

12 years ago#14638: pydoc now treats non-str __name__ as None instead of raising
R David Murray [Mon, 23 Apr 2012 17:23:57 +0000 (13:23 -0400)]
#14638: pydoc now treats non-str __name__ as None instead of raising

Original patch by Peter Otten.

12 years agonews for issue13684
Senthil Kumaran [Mon, 23 Apr 2012 15:53:16 +0000 (23:53 +0800)]
news for issue13684

12 years ago 3.2 - Fix for Issue13684 - httplib tunnel infinite loop
Senthil Kumaran [Mon, 23 Apr 2012 15:50:07 +0000 (23:50 +0800)]
 3.2 - Fix for Issue13684 - httplib tunnel infinite loop

12 years agoadd Mark Shannon
Benjamin Peterson [Mon, 23 Apr 2012 15:25:32 +0000 (11:25 -0400)]
add Mark Shannon

12 years agosleep here
Benjamin Peterson [Mon, 23 Apr 2012 14:08:14 +0000 (10:08 -0400)]
sleep here

12 years agoClose issue #14026 by better testing sys.argv handling in test_cmd_line_script (patch...
Nick Coghlan [Sun, 22 Apr 2012 07:11:33 +0000 (17:11 +1000)]
Close issue #14026 by better testing sys.argv handling in test_cmd_line_script (patch by Jason Yeo)

12 years agoissue2193 - Update 3.2 docs about legal characters allowed in Cookie name
Senthil Kumaran [Sun, 22 Apr 2012 02:30:17 +0000 (10:30 +0800)]
issue2193 - Update 3.2 docs about legal characters allowed in Cookie name

12 years agoIssue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of an int...
Mark Dickinson [Fri, 20 Apr 2012 20:42:49 +0000 (21:42 +0100)]
Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of an int subclass.

12 years agoIssue #14629: Raise SyntaxError in tokenizer.detect_encoding
Martin v. Löwis [Fri, 20 Apr 2012 12:36:47 +0000 (14:36 +0200)]
Issue #14629: Raise SyntaxError in tokenizer.detect_encoding
if the first two lines have non-UTF-8 characters without an encoding declaration.

12 years agoIssue #14308: Fix an exception when a "dummy" thread is in the threading module's...
Antoine Pitrou [Thu, 19 Apr 2012 21:55:01 +0000 (23:55 +0200)]
Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork().

12 years agoClose #14032: fix incorrect variable reference in test_cmd_line_script
Nick Coghlan [Thu, 19 Apr 2012 12:19:36 +0000 (22:19 +1000)]
Close #14032: fix incorrect variable reference in test_cmd_line_script

12 years ago#14538: HTMLParser can now parse correctly start tags that contain a bare /.
Ezio Melotti [Thu, 19 Apr 2012 01:18:22 +0000 (19:18 -0600)]
#14538: HTMLParser can now parse correctly start tags that contain a bare /.

12 years agoRemove webbrowser doc reference to the previously removed internet-config option.
Ned Deily [Wed, 18 Apr 2012 19:48:52 +0000 (12:48 -0700)]
Remove webbrowser doc reference to the previously removed internet-config option.

12 years agoimprove
Benjamin Peterson [Wed, 18 Apr 2012 15:25:12 +0000 (11:25 -0400)]
improve

12 years agoSETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes ...
Benjamin Peterson [Wed, 18 Apr 2012 15:14:31 +0000 (11:14 -0400)]
SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612)

12 years agomangle keyword-only argname when loading defaults (closes #14607)
Benjamin Peterson [Tue, 17 Apr 2012 23:53:21 +0000 (19:53 -0400)]
mangle keyword-only argname when loading defaults (closes #14607)

12 years agoIssue #5113: Fix a test_posix failure on HP-UX, where non-root users can
Charles-François Natali [Tue, 17 Apr 2012 17:48:35 +0000 (19:48 +0200)]
Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.

12 years agoCorrected version numbers in cookbook example.
Vinay Sajip [Mon, 16 Apr 2012 23:40:48 +0000 (00:40 +0100)]
Corrected version numbers in cookbook example.

12 years agoTweaked format of cookbook example.
Vinay Sajip [Mon, 16 Apr 2012 14:46:18 +0000 (15:46 +0100)]
Tweaked format of cookbook example.

12 years agoAdded cookbook example for BOM insertion.
Vinay Sajip [Mon, 16 Apr 2012 14:28:50 +0000 (15:28 +0100)]
Added cookbook example for BOM insertion.

12 years agoCloses #14452: remove BOM insertion code.
Vinay Sajip [Mon, 16 Apr 2012 13:39:53 +0000 (14:39 +0100)]
Closes #14452: remove BOM insertion code.

12 years agoIssue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test...
Antoine Pitrou [Mon, 16 Apr 2012 01:34:44 +0000 (03:34 +0200)]
Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl.

12 years agoIssue 13496: Fix bisect.bisect overflow bug for large collections.
Mark Dickinson [Sun, 15 Apr 2012 15:30:35 +0000 (16:30 +0100)]
Issue 13496: Fix bisect.bisect overflow bug for large collections.

12 years agoIssue #13889: On MSVC builds, set FPU control word at runtime for all string <->...
Mark Dickinson [Sun, 15 Apr 2012 14:10:56 +0000 (15:10 +0100)]
Issue #13889: On MSVC builds, set FPU control word at runtime for all string <-> float conversions.  Patch by Samuel Iseli and Stefan Krah.

12 years agoMake all socket related modules link with ws2_32.lib on windows, like
Kristján Valur Jónsson [Sun, 15 Apr 2012 11:12:57 +0000 (11:12 +0000)]
Make all socket related modules link with ws2_32.lib on windows, like
_socket does.  Some were using the older wsock32.lib.

12 years agofix typo; thanks to Jérôme Mainka from docs@
Sandro Tosi [Sat, 14 Apr 2012 14:01:17 +0000 (16:01 +0200)]
fix typo; thanks to Jérôme Mainka from docs@

12 years agoFix highlight and spacing in json example.
Ezio Melotti [Sat, 14 Apr 2012 03:02:18 +0000 (21:02 -0600)]
Fix highlight and spacing in json example.

12 years ago#14535: fix code highlight in multiprocessing examples. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Sat, 14 Apr 2012 02:50:48 +0000 (20:50 -0600)]
#14535: fix code highlight in multiprocessing examples.  Patch by Tshepang Lekhonkhobe.

12 years ago#14399: corrected news item
R David Murray [Sat, 14 Apr 2012 01:24:27 +0000 (21:24 -0400)]
#14399: corrected news item

12 years agomove outside WITH_THREAD conditional
Benjamin Peterson [Fri, 13 Apr 2012 22:06:36 +0000 (18:06 -0400)]
move outside WITH_THREAD conditional

12 years agotake linkage def outside of WITH_THREAD conditional (closes #14569)
Benjamin Peterson [Fri, 13 Apr 2012 15:58:27 +0000 (11:58 -0400)]
take linkage def outside of WITH_THREAD conditional (closes #14569)

12 years agomerge heads
Amaury Forgeot d'Arc [Fri, 13 Apr 2012 00:27:37 +0000 (02:27 +0200)]
merge heads

12 years agoIssue14559: Fix build files old Microft compilers.
Amaury Forgeot d'Arc [Fri, 13 Apr 2012 00:14:28 +0000 (02:14 +0200)]
Issue14559: Fix build files old Microft compilers.
With VS8.0 at least Python compiles and works correctly.

12 years ago#14399: zipfile now correctly handles comments added to empty zipfiles.
R David Murray [Thu, 12 Apr 2012 22:44:42 +0000 (18:44 -0400)]
#14399: zipfile now correctly handles comments added to empty zipfiles.

Patch by Serhiy Storchaka.

This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.

12 years ago3.2 sidebar: link to 3.3, not 3.1
Georg Brandl [Thu, 12 Apr 2012 17:41:10 +0000 (19:41 +0200)]
3.2 sidebar: link to 3.3, not 3.1

12 years agoIssue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
Charles-François Natali [Thu, 12 Apr 2012 17:07:25 +0000 (19:07 +0200)]
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.

12 years ago#14553: fix word order.
R David Murray [Thu, 12 Apr 2012 00:13:25 +0000 (20:13 -0400)]
#14553: fix word order.

Patch by Tshepang Lekhonkhobe.

12 years ago#14552: remove redundant wording in 'test' docs.
R David Murray [Thu, 12 Apr 2012 00:11:53 +0000 (20:11 -0400)]
#14552: remove redundant wording in 'test' docs.

Original patch by Tshepang Lekhonkhobe.

12 years agomerge 3.1 (null)
Benjamin Peterson [Wed, 11 Apr 2012 20:48:30 +0000 (16:48 -0400)]
merge 3.1 (null)

12 years agoafter 3.1.5
Benjamin Peterson [Wed, 11 Apr 2012 20:46:54 +0000 (16:46 -0400)]
after 3.1.5

12 years ago#14508: make gprof2html script runnable under python3
R David Murray [Wed, 11 Apr 2012 19:16:38 +0000 (15:16 -0400)]
#14508: make gprof2html script runnable under python3

Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.

Initial patch by Popa.Claudiu.