]> granicus.if.org Git - python/log
python
12 years agoIssue #14881: Allow normal non-main thread to spawn a dummy process
Richard Oudkerk [Fri, 25 May 2012 11:57:58 +0000 (12:57 +0100)]
Issue #14881: Allow normal non-main thread to spawn a dummy process

Fix suggested by Itay Brandes

12 years ago#4841: Fix FileIO constructor to honor closefd when called repeatedly
Hynek Schlawack [Fri, 25 May 2012 08:05:53 +0000 (10:05 +0200)]
#4841: Fix FileIO constructor to honor closefd when called repeatedly

Patch by Victor Stinner.

12 years ago#14863: Update the documentation of os.fdopen()
Petri Lehtinen [Thu, 24 May 2012 18:44:07 +0000 (21:44 +0300)]
#14863: Update the documentation of os.fdopen()

There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.

12 years agoIssue #14036: return None when port in urlparse cross 65535
Senthil Kumaran [Thu, 24 May 2012 13:56:17 +0000 (21:56 +0800)]
Issue #14036: return None when port in urlparse cross 65535

12 years agoRemove duplicate entries in Misc/NEWS.
Florent Xicluna [Wed, 23 May 2012 15:42:50 +0000 (17:42 +0200)]
Remove duplicate entries in Misc/NEWS.

12 years ago#14472: Update .gitignore
Petri Lehtinen [Tue, 22 May 2012 17:48:16 +0000 (20:48 +0300)]
#14472: Update .gitignore

Patch by Matej Cepl.

12 years agoRestore [] where default arguments are not keywords
Hynek Schlawack [Tue, 22 May 2012 14:12:18 +0000 (16:12 +0200)]
Restore [] where default arguments are not keywords

Reverts some changes of d13fdd97cc8e.

12 years ago#14875: Use float('inf') instead of float('1e66666') in the json module.
Ezio Melotti [Mon, 21 May 2012 23:49:06 +0000 (17:49 -0600)]
#14875: Use float('inf') instead of float('1e66666') in the json module.

12 years ago#14804: Remove [] around optional arguments with default values
Hynek Schlawack [Mon, 21 May 2012 09:01:54 +0000 (11:01 +0200)]
#14804: Remove [] around optional arguments with default values

12 years agoFix `versionchanged` tags for json.load
Hynek Schlawack [Sun, 20 May 2012 16:32:53 +0000 (18:32 +0200)]
Fix `versionchanged` tags for json.load

`versionchanged` tags about 2.7 are useless in 3.x branches.

12 years agoFixes #14864: Added documentation on how to undo the effects of a logging.disable...
Vinay Sajip [Sun, 20 May 2012 14:36:17 +0000 (15:36 +0100)]
Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call.

12 years agoDocument when json.load's parse_constant behaviour changed
Hynek Schlawack [Sun, 20 May 2012 10:03:17 +0000 (12:03 +0200)]
Document when json.load's parse_constant behaviour changed

It doesn't get called on 'null', 'true', 'false' since f686aced02a3.

12 years agoFix for issue14426 - buildbots here I come
Senthil Kumaran [Sun, 20 May 2012 08:58:30 +0000 (16:58 +0800)]
Fix for issue14426 - buildbots here I come

12 years agonews for Issue14426
Senthil Kumaran [Sun, 20 May 2012 04:06:24 +0000 (12:06 +0800)]
news for Issue14426

12 years ago Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch...
Senthil Kumaran [Sun, 20 May 2012 04:05:16 +0000 (12:05 +0800)]
 Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert

12 years ago#14494: Document that absolute imports became default in 3.0 instead of 2.7.
Petri Lehtinen [Sat, 19 May 2012 15:34:06 +0000 (18:34 +0300)]
#14494: Document that absolute imports became default in 3.0 instead of 2.7.

12 years ago#14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter.
Ezio Melotti [Sat, 19 May 2012 14:15:19 +0000 (17:15 +0300)]
#14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter.

12 years agoFix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
Senthil Kumaran [Sat, 19 May 2012 08:58:09 +0000 (16:58 +0800)]
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests

12 years agoIssue9374 - Generic parsing of query and fragment portion of urls for any scheme
Senthil Kumaran [Sat, 19 May 2012 00:12:00 +0000 (08:12 +0800)]
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme

12 years ago#14798: pyclbr now raises ImportError instead of KeyError for missing packages
Petri Lehtinen [Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)]
#14798: pyclbr now raises ImportError instead of KeyError for missing packages

12 years agoFix time.time() references in the time module docs
Petri Lehtinen [Fri, 18 May 2012 18:19:17 +0000 (21:19 +0300)]
Fix time.time() references in the time module docs

Closes #14842.

12 years agoDrop double quoting again. I'm at a loss when to quote and when not.
Martin v. Löwis [Fri, 18 May 2012 13:28:43 +0000 (15:28 +0200)]
Drop double quoting again. I'm at a loss when to quote and when not.

12 years agoUpgrade OpenSSL to 1.0.0j
Martin v. Löwis [Fri, 18 May 2012 13:28:01 +0000 (15:28 +0200)]
Upgrade OpenSSL to 1.0.0j

12 years agomerge heads
Martin v. Löwis [Fri, 18 May 2012 12:24:09 +0000 (14:24 +0200)]
merge heads

12 years agoAdd another set of quotes to make cmd.exe happy.
Martin v. Löwis [Fri, 18 May 2012 12:17:43 +0000 (14:17 +0200)]
Add another set of quotes to make cmd.exe happy.

12 years agoFetch openssl directory from pyproject.vsprops.
Martin v. Löwis [Fri, 18 May 2012 12:16:53 +0000 (14:16 +0200)]
Fetch openssl directory from pyproject.vsprops.

12 years ago#14823: Simplify threading.Lock.acquire argument discussion.
R David Murray [Thu, 17 May 2012 13:13:30 +0000 (09:13 -0400)]
#14823: Simplify threading.Lock.acquire argument discussion.

12 years ago#14692 Fix json docs to reflect changes in json.load
Hynek Schlawack [Wed, 16 May 2012 17:01:04 +0000 (19:01 +0200)]
#14692 Fix json docs to reflect changes in json.load

The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.

Patch by Serhiy Storchaka

12 years agoForward port additional tests from 2.7 (issue #14829).
Antoine Pitrou [Wed, 16 May 2012 13:01:40 +0000 (15:01 +0200)]
Forward port additional tests from 2.7 (issue #14829).

12 years agoIssue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under...
Antoine Pitrou [Wed, 16 May 2012 12:37:54 +0000 (14:37 +0200)]
Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.

12 years agoCleanup so subsequent tests won't fail. Needs to be moved into a support routine...
Eric V. Smith [Wed, 16 May 2012 08:48:04 +0000 (04:48 -0400)]
Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715).

12 years ago#1440472: reflow
R David Murray [Wed, 16 May 2012 02:13:29 +0000 (22:13 -0400)]
#1440472: reflow

12 years ago#1440472: Explain that email parser/generator isn't *quite* "idempotent"
R David Murray [Wed, 16 May 2012 02:07:52 +0000 (22:07 -0400)]
#1440472: Explain that email parser/generator isn't *quite* "idempotent"

12 years agoIssue #14777: In an X11 windowing environment, tkinter may return
Ned Deily [Wed, 16 May 2012 01:08:11 +0000 (18:08 -0700)]
Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.

12 years agoIssue #14817: Add rudimentary tests for pkgutil.extend_path.
Eric V. Smith [Wed, 16 May 2012 00:44:06 +0000 (20:44 -0400)]
Issue #14817: Add rudimentary tests for pkgutil.extend_path.

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@

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

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