]> granicus.if.org Git - python/log
python
11 years agoFix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts.
Giampaolo Rodola' [Wed, 17 Apr 2013 11:08:59 +0000 (13:08 +0200)]
Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts.

11 years ago#14735: Update IDLE docs to omit "Control-z on Windows".
Roger Serwy [Wed, 17 Apr 2013 05:22:50 +0000 (00:22 -0500)]
#14735: Update IDLE docs to omit "Control-z on Windows".

11 years ago#17771: fix typo. Patch by Andriy Mysyk.
Ezio Melotti [Wed, 17 Apr 2013 04:34:13 +0000 (07:34 +0300)]
#17771: fix typo.  Patch by Andriy Mysyk.

11 years ago#17766: test_iterlen now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Wed, 17 Apr 2013 01:34:05 +0000 (04:34 +0300)]
#17766: test_iterlen now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#17740: fix links to the socket function. Initial patch by Zachary Ware.
Ezio Melotti [Wed, 17 Apr 2013 01:10:26 +0000 (04:10 +0300)]
#17740: fix links to the socket function.  Initial patch by Zachary Ware.

11 years agoIssue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for...
Antoine Pitrou [Tue, 16 Apr 2013 18:27:17 +0000 (20:27 +0200)]
Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets.
Thanks to David D Lowe for reporting.

11 years agoRemove unused import.
Barry Warsaw [Tue, 16 Apr 2013 15:18:53 +0000 (11:18 -0400)]
Remove unused import.

11 years ago- Issue #17012: shutil.which() no longer fallbacks to the PATH environment
Barry Warsaw [Tue, 16 Apr 2013 15:05:03 +0000 (11:05 -0400)]
- Issue #17012: shutil.which() no longer fallbacks to the PATH environment
  variable if empty path argument is specified.  Patch by Serhiy Storchaka.

11 years agoremove pointless code (closes #17738)
Benjamin Peterson [Tue, 16 Apr 2013 01:38:25 +0000 (21:38 -0400)]
remove pointless code (closes #17738)

11 years agoIssue #17710: Fix pickle raising a SystemError on bogus input.
Antoine Pitrou [Mon, 15 Apr 2013 19:51:09 +0000 (21:51 +0200)]
Issue #17710: Fix pickle raising a SystemError on bogus input.

11 years ago#13510: clarify that f.readlines() is note necessary to iterate over a file. Patch...
Ezio Melotti [Mon, 15 Apr 2013 16:08:31 +0000 (19:08 +0300)]
#13510: clarify that f.readlines() is note necessary to iterate over a file.  Patch by Dan Riti.

11 years agoIssue #17728: Specify default precision for float.format for presentation types e...
Eric V. Smith [Mon, 15 Apr 2013 13:51:54 +0000 (09:51 -0400)]
Issue #17728: Specify default precision for float.format for presentation types e, f, and g.

11 years agoClose #17731: Clean up properly in test_import
Nick Coghlan [Mon, 15 Apr 2013 12:56:51 +0000 (22:56 +1000)]
Close #17731: Clean up properly in test_import

11 years ago#17341: Include name in re error message about invalid group name.
R David Murray [Sun, 14 Apr 2013 17:00:54 +0000 (13:00 -0400)]
#17341: Include name in re error message about invalid group name.

Patch by Jason Michalski.

11 years agoIssue #17221: Resort Misc/NEWS.
Serhiy Storchaka [Sun, 14 Apr 2013 15:53:39 +0000 (18:53 +0300)]
Issue #17221: Resort Misc/NEWS.

11 years agoIssue #17702: use assertRaises() for the unit test
Victor Stinner [Sun, 14 Apr 2013 14:43:03 +0000 (16:43 +0200)]
Issue #17702: use assertRaises() for the unit test

11 years agoClose #17702: os.environ now raises KeyError with the original environment
Victor Stinner [Sun, 14 Apr 2013 14:35:04 +0000 (16:35 +0200)]
Close #17702: os.environ now raises KeyError with the original environment
variable name (str on UNIX), instead of using the encoded name (bytes on UNIX).

11 years agoClose issue #16163: handle submodules in pkgutil.iter_importers
Nick Coghlan [Sun, 14 Apr 2013 12:30:42 +0000 (22:30 +1000)]
Close issue #16163: handle submodules in pkgutil.iter_importers

11 years agoMerge heads.
Alexandre Vassalotti [Sun, 14 Apr 2013 10:31:40 +0000 (03:31 -0700)]
Merge heads.

11 years agoIssue #16550: Update the opcode descriptions of pickletools to use unsigned
Alexandre Vassalotti [Sun, 14 Apr 2013 10:30:35 +0000 (03:30 -0700)]
Issue #16550: Update the opcode descriptions of pickletools to use unsigned
integers where appropriate.  Initial patch by Serhiy Storchaka.

11 years agoFix example ignoring ".svn" directories in compileall.
Georg Brandl [Sun, 14 Apr 2013 10:02:43 +0000 (12:02 +0200)]
Fix example ignoring ".svn" directories in compileall.

11 years agoThe Integral class does not contain implementations for the bit-shifting operations...
Georg Brandl [Sun, 14 Apr 2013 09:58:54 +0000 (11:58 +0200)]
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)

11 years agoClarify that the function *definition* creates the function and the binding in the...
Georg Brandl [Sun, 14 Apr 2013 09:47:46 +0000 (11:47 +0200)]
Clarify that the function *definition* creates the function and the binding in the module globals.

11 years agoCloses #14462: allow any valid Python identifier in sre group names, as documented.
Georg Brandl [Sun, 14 Apr 2013 09:40:00 +0000 (11:40 +0200)]
Closes #14462: allow any valid Python identifier in sre group names, as documented.

11 years agoCloses #13638: document PyErr_SetFromErrnoWithFilenameObject,
Georg Brandl [Sun, 14 Apr 2013 09:12:16 +0000 (11:12 +0200)]
Closes #13638: document PyErr_SetFromErrnoWithFilenameObject,
PyErr_SetFromWindowsErrWithFilenameObject, and
PyErr_SetExcFromWindowsErrWithFilenameObject.

Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.

11 years agoMerge heads.
Alexandre Vassalotti [Sun, 14 Apr 2013 09:10:14 +0000 (02:10 -0700)]
Merge heads.

11 years agobind('') does not do the same as bind('localhost')
Georg Brandl [Sun, 14 Apr 2013 08:59:04 +0000 (10:59 +0200)]
bind('') does not do the same as bind('localhost')

11 years agoUpdate code examples using collections.abc classes.
Georg Brandl [Sun, 14 Apr 2013 08:50:05 +0000 (10:50 +0200)]
Update code examples using collections.abc classes.

11 years agoCloses #17726: small clarification in design FAQ.
Georg Brandl [Sun, 14 Apr 2013 08:31:06 +0000 (10:31 +0200)]
Closes #17726: small clarification in design FAQ.

11 years agoClean up error messages raised by save_reduce in _pickle.
Alexandre Vassalotti [Sun, 14 Apr 2013 08:28:01 +0000 (01:28 -0700)]
Clean up error messages raised by save_reduce in _pickle.

11 years agoUpdate using/mac documentation which was still on 2.5.
Georg Brandl [Sun, 14 Apr 2013 08:17:35 +0000 (10:17 +0200)]
Update using/mac documentation which was still on 2.5.

11 years agoClarify point in name mangling doc.
Georg Brandl [Sun, 14 Apr 2013 08:13:42 +0000 (10:13 +0200)]
Clarify point in name mangling doc.

11 years agoFix pickling test in test_memoryio.
Alexandre Vassalotti [Sun, 14 Apr 2013 07:56:39 +0000 (00:56 -0700)]
Fix pickling test in test_memoryio.

The test was closing the orginal object instead the copy. This didn't result
in visible failures because the loop range was incorrect as well.

11 years agoIssue #16804: Fix 'python -S -m site' failure.
Meador Inge [Sun, 14 Apr 2013 01:29:49 +0000 (20:29 -0500)]
Issue #16804: Fix 'python -S -m site' failure.

This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.

11 years agoReflow paragraph.
R David Murray [Sat, 13 Apr 2013 18:40:51 +0000 (14:40 -0400)]
Reflow paragraph.

11 years ago#2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:40:33 +0000 (14:40 -0400)]
#2118: clarify smtplib exception documentation.

11 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:15:47 +0000 (21:15 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

11 years ago#17571: remove broken links in datetime.py docstring.
Ezio Melotti [Sat, 13 Apr 2013 17:12:38 +0000 (20:12 +0300)]
#17571: remove broken links in datetime.py docstring.

11 years ago#17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
Ezio Melotti [Sat, 13 Apr 2013 17:07:42 +0000 (20:07 +0300)]
#17686: fix broken link in Doc/using/unix.rst.  Patch by Dan Riti.

11 years agoIssue #17715: Add missing NULL Check to PyNumber_Long.
Mark Dickinson [Sat, 13 Apr 2013 16:44:44 +0000 (17:44 +0100)]
Issue #17715: Add missing NULL Check to PyNumber_Long.

11 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:00:04 +0000 (18:00 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

11 years agoIssue #16447: Fix potential segfault when setting __name__ on a class.
Mark Dickinson [Sat, 13 Apr 2013 14:26:58 +0000 (15:26 +0100)]
Issue #16447: Fix potential segfault when setting __name__ on a class.

11 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:41 +0000 (23:30 +0300)]
Fix whitespaces

11 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:21:01 +0000 (23:21 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

11 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:49:19 +0000 (22:49 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

11 years ago#17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 12 Apr 2013 16:19:21 +0000 (19:19 +0300)]
#17653: fix typo in socketserver docs.  Patch by Tshepang Lekhonkhobe.

11 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:23:24 +0000 (16:23 +0300)]
Merge heads.

11 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:08:40 +0000 (16:08 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

11 years ago#6696: add documentation for the Profile objects, and improve profile/cProfile docs...
Ezio Melotti [Fri, 12 Apr 2013 12:42:06 +0000 (15:42 +0300)]
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.

11 years ago#17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 12 Apr 2013 11:13:47 +0000 (14:13 +0300)]
#17692: test_sqlite now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Roger Serwy [Fri, 12 Apr 2013 00:16:44 +0000 (19:16 -0500)]
#17585: Fixed IDLE regression. Now closes when using exit() or quit().

11 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:01:40 +0000 (21:01 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

11 years ago#17690: test_time now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 11 Apr 2013 17:29:42 +0000 (20:29 +0300)]
#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:55:45 +0000 (08:55 -0400)]
#14971: Use class method name, not function.__name__, during unittest discovery.

11 years agonormalize whitespace
Senthil Kumaran [Thu, 11 Apr 2013 03:55:58 +0000 (20:55 -0700)]
normalize whitespace

11 years ago#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
Senthil Kumaran [Thu, 11 Apr 2013 03:51:19 +0000 (20:51 -0700)]
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk

11 years agodon't run frame if it has no stack (closes #17669)
Benjamin Peterson [Wed, 10 Apr 2013 21:00:56 +0000 (17:00 -0400)]
don't run frame if it has no stack (closes #17669)

11 years ago#12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and...
Ezio Melotti [Wed, 10 Apr 2013 16:30:11 +0000 (19:30 +0300)]
#12820: add tests for the xml.dom.minicompat module.  Patch by John Chandler and Phil Connell.

11 years ago#17635: fix wrong function name in multiprocessing docs.
Ezio Melotti [Wed, 10 Apr 2013 14:59:20 +0000 (17:59 +0300)]
#17635: fix wrong function name in multiprocessing docs.

11 years ago#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
Senthil Kumaran [Tue, 9 Apr 2013 14:07:59 +0000 (07:07 -0700)]
#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan

11 years ago#17648 - convert test_urllib2.py doctests to unittests
Senthil Kumaran [Tue, 9 Apr 2013 13:00:16 +0000 (06:00 -0700)]
#17648 - convert test_urllib2.py doctests to unittests

11 years ago#17657: Show full Tk version in IDLE's about dialog.
Roger Serwy [Tue, 9 Apr 2013 01:57:13 +0000 (20:57 -0500)]
#17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.

11 years agoClose #17666: Fix reading gzip files with an extra field.
Serhiy Storchaka [Mon, 8 Apr 2013 19:35:02 +0000 (22:35 +0300)]
Close #17666: Fix reading gzip files with an extra field.

11 years agoAdd NEWS entry for #17502: Process DEFAULT values in mock side_effect that returns...
Andrew Svetlov [Mon, 8 Apr 2013 09:59:30 +0000 (12:59 +0300)]
Add NEWS entry for #17502: Process DEFAULT values in mock side_effect that returns iterator.

11 years ago#17613: Prevent traceback when removing syntax colorizer in IDLE.
Roger Serwy [Sun, 7 Apr 2013 17:41:16 +0000 (12:41 -0500)]
#17613: Prevent traceback when removing syntax colorizer in IDLE.

11 years ago#1207589: Backwards-compatibility patch for right-click menu in IDLE.
Roger Serwy [Sun, 7 Apr 2013 17:15:52 +0000 (12:15 -0500)]
#1207589: Backwards-compatibility patch for right-click menu in IDLE.

11 years agoProcess DEFAULT values in mock side_effect that returns iterator.
Andrew Svetlov [Sun, 7 Apr 2013 13:42:24 +0000 (16:42 +0300)]
Process DEFAULT values in mock side_effect that returns iterator.

Patch by Michael Ford.

11 years agoMerge heads
Andrew Svetlov [Sun, 7 Apr 2013 11:47:05 +0000 (14:47 +0300)]
Merge heads

11 years agoUpdate argparse docs to follow order of ArgumentParser() arguments.
Andrew Svetlov [Sun, 7 Apr 2013 11:43:17 +0000 (14:43 +0300)]
Update argparse docs to follow order of ArgumentParser() arguments.

11 years agoClean-up lru_cache examples. The print() not is needed. Set maxsize to a power...
Raymond Hettinger [Sun, 7 Apr 2013 03:27:33 +0000 (20:27 -0700)]
Clean-up lru_cache examples.  The print() not is needed.  Set maxsize to a power of two.

11 years ago#16887: IDLE now accepts Cancel in tabify/untabify dialog box.
Roger Serwy [Sun, 7 Apr 2013 01:26:53 +0000 (20:26 -0500)]
#16887: IDLE now accepts Cancel in tabify/untabify dialog box.

11 years agoRevert a premature patch for issue #14010 (changeset aaaf36026511).
Serhiy Storchaka [Sat, 6 Apr 2013 19:52:34 +0000 (22:52 +0300)]
Revert a premature patch for issue #14010 (changeset aaaf36026511).

11 years agoMerge
Antoine Pitrou [Sat, 6 Apr 2013 19:23:47 +0000 (21:23 +0200)]
Merge

11 years agoIssue #17645: convert an assert() into a proper exception in _Py_Mangle().
Antoine Pitrou [Sat, 6 Apr 2013 19:21:04 +0000 (21:21 +0200)]
Issue #17645: convert an assert() into a proper exception in _Py_Mangle().

11 years agomove IDLE news to its own section
Benjamin Peterson [Sat, 6 Apr 2013 19:14:06 +0000 (15:14 -0400)]
move IDLE news to its own section

11 years agoIssue #14010: Fix a crash when iterating or deleting deeply nested filters
Serhiy Storchaka [Sat, 6 Apr 2013 18:14:43 +0000 (21:14 +0300)]
Issue #14010: Fix a crash when iterating or deleting deeply nested filters
(builting and in itertools module, i.e. map(), itertools.chain(), etc).

11 years agoChange wording as Eli Bendersky suggests.
Andrew Svetlov [Sat, 6 Apr 2013 15:55:07 +0000 (18:55 +0300)]
Change wording as Eli Bendersky suggests.

11 years agoAdd 3.3.1 to LICENSE files.
Georg Brandl [Sat, 6 Apr 2013 14:48:55 +0000 (16:48 +0200)]
Add 3.3.1 to LICENSE files.

11 years agoPost-release update for 3.3.1
Georg Brandl [Sat, 6 Apr 2013 14:43:06 +0000 (16:43 +0200)]
Post-release update for 3.3.1

11 years agomerge with 3.3.1 release clone
Georg Brandl [Sat, 6 Apr 2013 14:42:43 +0000 (16:42 +0200)]
merge with 3.3.1 release clone

11 years agomerge with 3.2 branch
Georg Brandl [Sat, 6 Apr 2013 14:39:49 +0000 (16:39 +0200)]
merge with 3.2 branch

11 years agoAdded tag v3.3.1 for changeset d9893d13c628
Georg Brandl [Sat, 6 Apr 2013 07:40:13 +0000 (09:40 +0200)]
Added tag v3.3.1 for changeset d9893d13c628

11 years agoBump to 3.3.1. v3.3.1
Georg Brandl [Sat, 6 Apr 2013 07:40:02 +0000 (09:40 +0200)]
Bump to 3.3.1.

11 years agoAdded tag v3.2.4 for changeset 1e10bdeabe3d
Georg Brandl [Sat, 6 Apr 2013 07:37:53 +0000 (09:37 +0200)]
Added tag v3.2.4 for changeset 1e10bdeabe3d

11 years agoBump to 3.2.4. v3.2.4
Georg Brandl [Sat, 6 Apr 2013 07:36:20 +0000 (09:36 +0200)]
Bump to 3.2.4.

11 years agoAdd link to glossary for hashable term in docs for set type
Andrew Svetlov [Fri, 5 Apr 2013 13:21:50 +0000 (16:21 +0300)]
Add link to glossary for hashable term in docs for set type

11 years agoFix typo
Andrew Svetlov [Fri, 5 Apr 2013 08:39:50 +0000 (11:39 +0300)]
Fix typo

11 years agoFix typo.
Andrew Svetlov [Fri, 5 Apr 2013 07:10:12 +0000 (10:10 +0300)]
Fix typo.

11 years agoIssue #17483: 3.3 Branch - Remove unreachable code in urllib.request
Senthil Kumaran [Fri, 5 Apr 2013 02:34:02 +0000 (19:34 -0700)]
Issue #17483: 3.3 Branch - Remove unreachable code in urllib.request

11 years ago#8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki...
Ezio Melotti [Thu, 4 Apr 2013 06:16:15 +0000 (09:16 +0300)]
#8913: add examples and docs for date/time/datetime.__format__.  Patch by Heikki Partanen.

11 years agoclose search and replace dialog after it is used (closes #17625)
Benjamin Peterson [Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)]
close search and replace dialog after it is used (closes #17625)

11 years agoclose search and replace dialog after it is used (closes #17625)
Benjamin Peterson [Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)]
close search and replace dialog after it is used (closes #17625)

11 years agoclose search and replace dialog after it is used (closes #17625)
Benjamin Peterson [Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)]
close search and replace dialog after it is used (closes #17625)

11 years ago#17572: Avoid chained exceptions while passing bad directives to time.strptime()...
Ezio Melotti [Wed, 3 Apr 2013 23:09:20 +0000 (02:09 +0300)]
#17572: Avoid chained exceptions while passing bad directives to time.strptime().  Initial patch by Claudiu Popa.

11 years agoIssue #15940: NEWS entry
Terry Jan Reedy [Wed, 3 Apr 2013 17:07:46 +0000 (13:07 -0400)]
Issue #15940: NEWS entry

11 years agoIssue #15940: Replace tab.
Terry Jan Reedy [Wed, 3 Apr 2013 16:45:24 +0000 (12:45 -0400)]
Issue #15940: Replace tab.

11 years agoIssue #15940: Specify effect of locale on time functions.
Terry Jan Reedy [Wed, 3 Apr 2013 16:34:57 +0000 (12:34 -0400)]
Issue #15940: Specify effect of locale on time functions.

11 years agoIssue #17619: Make input() check for Ctrl-C correctly on Windows.
Richard Oudkerk [Wed, 3 Apr 2013 12:44:50 +0000 (13:44 +0100)]
Issue #17619: Make input() check for Ctrl-C correctly on Windows.

11 years agoUse repr when printing unknown url type in urlopen.
R David Murray [Wed, 3 Apr 2013 10:58:34 +0000 (06:58 -0400)]
Use repr when printing unknown url type in urlopen.

11 years ago#17623: fix whatsnew typo
R David Murray [Wed, 3 Apr 2013 10:16:14 +0000 (06:16 -0400)]
#17623: fix whatsnew typo

Patch by Thomas Heller.