]> granicus.if.org Git - python/log
python
12 years agoIssue12541 - Add UserWarning for unquoted realms
Senthil Kumaran [Tue, 15 May 2012 15:59:42 +0000 (23:59 +0800)]
Issue12541 - Add UserWarning for unquoted realms

12 years agoIssue #12541: Be lenient with quotes around Realm field of HTTP Basic Authentation...
Senthil Kumaran [Tue, 15 May 2012 14:30:25 +0000 (22:30 +0800)]
Issue #12541: Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.

 G: changed Misc/NEWS

12 years ago#14766: Reflow the altered paragraphs.
R David Murray [Tue, 15 May 2012 02:17:23 +0000 (22:17 -0400)]
#14766: Reflow the altered paragraphs.

12 years ago#14766: Add correct algorithm for when a 'time' object is naive.
R David Murray [Tue, 15 May 2012 02:14:46 +0000 (22:14 -0400)]
#14766: Add correct algorithm for when a 'time' object is naive.

This patch also clarifies the definition of Naive and Aware.

Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).

12 years agobsddb never existed in 3.x, no need to keep downloading sleepycat
Brian Curtin [Tue, 15 May 2012 00:42:36 +0000 (19:42 -0500)]
bsddb never existed in 3.x, no need to keep downloading sleepycat

12 years agoFollowup to issue #14157: respect the relative ordering of values produced by time...
Antoine Pitrou [Mon, 14 May 2012 17:44:59 +0000 (19:44 +0200)]
Followup to issue #14157: respect the relative ordering of values produced by time.strptime().
Patch by Hynek.

12 years agoStop deleting non-existing bytecode files.
Martin v. Löwis [Mon, 14 May 2012 16:18:07 +0000 (18:18 +0200)]
Stop deleting non-existing bytecode files.

12 years agoRemove tab characters
Antoine Pitrou [Mon, 14 May 2012 12:43:25 +0000 (14:43 +0200)]
Remove tab characters

12 years agoUse size_t, not ssize_t (issue #14801).
Antoine Pitrou [Mon, 14 May 2012 12:43:03 +0000 (14:43 +0200)]
Use size_t, not ssize_t (issue #14801).

12 years agoUpgrade bzip2 to 1.0.6.
Martin v. Löwis [Mon, 14 May 2012 12:13:48 +0000 (14:13 +0200)]
Upgrade bzip2 to 1.0.6.

12 years ago#14405: remove outdated/broken/duplicate links.
Ezio Melotti [Mon, 14 May 2012 10:26:45 +0000 (13:26 +0300)]
#14405: remove outdated/broken/duplicate links.

12 years agoIssue #14245: Improve floating-point entry in FAQ. Thanks Zbyszek Jędrzejewski-Szmek...
Mark Dickinson [Sun, 13 May 2012 20:00:35 +0000 (21:00 +0100)]
Issue #14245: Improve floating-point entry in FAQ.  Thanks Zbyszek Jędrzejewski-Szmek for some of the wording.

12 years ago#14770: improve the library FAQ.
Ezio Melotti [Sun, 13 May 2012 17:14:04 +0000 (20:14 +0300)]
#14770: improve the library FAQ.

12 years agoIssue #14793: fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe
Sandro Tosi [Sun, 13 May 2012 09:01:20 +0000 (11:01 +0200)]
Issue #14793: fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe

12 years agocorrectly define what 'fill' could be; thanks to Leland Hulbert from docs@
Sandro Tosi [Sat, 12 May 2012 21:29:32 +0000 (23:29 +0200)]
correctly define what 'fill' could be; thanks to Leland Hulbert from docs@

13 years agoIssue #14662: Prevent shutil failures on OS X when destination does not
Ned Deily [Fri, 11 May 2012 00:21:23 +0000 (17:21 -0700)]
Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)

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

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

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

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

13 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 '/'

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

13 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

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

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

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

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

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

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

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

13 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

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

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

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

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

13 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

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

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

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

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

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

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

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

13 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

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

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

13 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

13 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

13 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

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

13 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

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

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

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

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

13 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

13 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

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

13 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

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

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

13 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

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

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

13 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

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

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

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

13 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

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

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

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

13 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

13 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 /.

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

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

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

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

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

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

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

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

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

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

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

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

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