]>
granicus.if.org Git - python/log
Antoine Pitrou [Wed, 24 Apr 2013 21:31:38 +0000 (23:31 +0200)]
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.
Łukasz Langa [Tue, 23 Apr 2013 23:49:52 +0000 (01:49 +0200)]
clean the environment from pre-existing PYTHONWARNINGS for test_warnings
Łukasz Langa [Tue, 23 Apr 2013 23:29:26 +0000 (01:29 +0200)]
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
Łukasz Langa [Tue, 23 Apr 2013 23:25:18 +0000 (01:25 +0200)]
fix character index in ExtendedInterpolation's exception message
Ronald Oussoren [Tue, 23 Apr 2013 11:47:22 +0000 (13:47 +0200)]
Ensure that plistlib doesn't corrupt deeply nested datastructures
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
Ezio Melotti [Tue, 23 Apr 2013 06:56:30 +0000 (09:56 +0300)]
#17729: remove the Advocacy HOWTO from the index.
Ezio Melotti [Tue, 23 Apr 2013 06:24:51 +0000 (09:24 +0300)]
#17729: remove the outdated Advocacy HOWTO, as suggested by the author.
Serhiy Storchaka [Mon, 22 Apr 2013 19:51:43 +0000 (22:51 +0300)]
Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable. Original patch by Thomas Rachel.
Eli Bendersky [Mon, 22 Apr 2013 12:25:25 +0000 (05:25 -0700)]
Issue #17736: fix misleading comment in _elementtree.c
Patch by Jonas Wagner
Vinay Sajip [Mon, 22 Apr 2013 09:07:40 +0000 (10:07 +0100)]
Issue #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
R David Murray [Sun, 21 Apr 2013 20:58:36 +0000 (16:58 -0400)]
#15575: Clarify tutorial description of when modules are executed.
Ned Deily [Sun, 21 Apr 2013 20:05:21 +0000 (13:05 -0700)]
Issue #17670: Provide an example of expandtabs() usage.
R David Murray [Sun, 21 Apr 2013 14:08:02 +0000 (10:08 -0400)]
#17065: Use process-unique key for winreg test.
Patch by Jeremy Kloth.
Alexandre Vassalotti [Sun, 21 Apr 2013 04:28:21 +0000 (21:28 -0700)]
Fix reference leak in _pickle.
Ezio Melotti [Sun, 21 Apr 2013 01:07:51 +0000 (04:07 +0300)]
Remove trailing whitespace.
Ezio Melotti [Sun, 21 Apr 2013 00:55:17 +0000 (03:55 +0300)]
Remove duplicated tests.
Ned Deily [Sat, 20 Apr 2013 21:07:43 +0000 (14:07 -0700)]
Issue #17801: fix shebang line of gprof2html.py
Alexandre Vassalotti [Sat, 20 Apr 2013 20:19:46 +0000 (13:19 -0700)]
Isuse #17720: Fix APPENDS handling in the Python implementation of Unpickler
to correctly process the opcode when it is used on non-list objects.
R David Murray [Sat, 20 Apr 2013 17:37:34 +0000 (13:37 -0400)]
#17409: Document RLIM_INFINITY and use it to clarify the setrlimit docs.
R David Murray [Fri, 19 Apr 2013 16:56:57 +0000 (12:56 -0400)]
#17413: make sure settrace funcs get passed exception instances for 'value'.
Patch by Ingrid Cheung and Brendan McLoughlin.
Barry Warsaw [Fri, 19 Apr 2013 15:32:25 +0000 (11:32 -0400)]
Minor typo in example.
Ezio Melotti [Fri, 19 Apr 2013 04:10:09 +0000 (07:10 +0300)]
Fix indentation.
Ezio Melotti [Fri, 19 Apr 2013 02:58:44 +0000 (05:58 +0300)]
#17790: test_set now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 19 Apr 2013 02:45:27 +0000 (05:45 +0300)]
#17789: test_random now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 19 Apr 2013 02:38:18 +0000 (05:38 +0300)]
#17779: test_osx_env now works with unittest test discovery. Patch by Zachary Ware.
R David Murray [Thu, 18 Apr 2013 13:51:17 +0000 (09:51 -0400)]
#17135: Add note in imp to use importlib for new programs.
Richard Oudkerk [Wed, 17 Apr 2013 20:16:52 +0000 (21:16 +0100)]
Merge.
Antoine Pitrou [Wed, 17 Apr 2013 20:06:44 +0000 (22:06 +0200)]
- Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long.
Richard Oudkerk [Wed, 17 Apr 2013 19:58:00 +0000 (20:58 +0100)]
Issue #17555: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.
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.
Roger Serwy [Wed, 17 Apr 2013 05:22:50 +0000 (00:22 -0500)]
#14735: Update IDLE docs to omit "Control-z on Windows".
Ezio Melotti [Wed, 17 Apr 2013 04:34:13 +0000 (07:34 +0300)]
#17771: fix typo. Patch by Andriy Mysyk.
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.
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.
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.
Barry Warsaw [Tue, 16 Apr 2013 15:18:53 +0000 (11:18 -0400)]
Remove unused import.
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.
Benjamin Peterson [Tue, 16 Apr 2013 01:38:25 +0000 (21:38 -0400)]
remove pointless code (closes #17738)
Antoine Pitrou [Mon, 15 Apr 2013 19:51:09 +0000 (21:51 +0200)]
Issue #17710: Fix pickle raising a SystemError on bogus input.
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.
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.
Nick Coghlan [Mon, 15 Apr 2013 12:56:51 +0000 (22:56 +1000)]
Close #17731: Clean up properly in test_import
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.
Serhiy Storchaka [Sun, 14 Apr 2013 15:53:39 +0000 (18:53 +0300)]
Issue #17221: Resort Misc/NEWS.
Victor Stinner [Sun, 14 Apr 2013 14:43:03 +0000 (16:43 +0200)]
Issue #17702: use assertRaises() for the unit test
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).
Nick Coghlan [Sun, 14 Apr 2013 12:30:42 +0000 (22:30 +1000)]
Close issue #16163: handle submodules in pkgutil.iter_importers
Alexandre Vassalotti [Sun, 14 Apr 2013 10:31:40 +0000 (03:31 -0700)]
Merge heads.
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.
Georg Brandl [Sun, 14 Apr 2013 10:02:43 +0000 (12:02 +0200)]
Fix example ignoring ".svn" directories in compileall.
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.)
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.
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.
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.
Alexandre Vassalotti [Sun, 14 Apr 2013 09:10:14 +0000 (02:10 -0700)]
Merge heads.
Georg Brandl [Sun, 14 Apr 2013 08:59:04 +0000 (10:59 +0200)]
bind('') does not do the same as bind('localhost')
Georg Brandl [Sun, 14 Apr 2013 08:50:05 +0000 (10:50 +0200)]
Update code examples using collections.abc classes.
Georg Brandl [Sun, 14 Apr 2013 08:31:06 +0000 (10:31 +0200)]
Closes #17726: small clarification in design FAQ.
Alexandre Vassalotti [Sun, 14 Apr 2013 08:28:01 +0000 (01:28 -0700)]
Clean up error messages raised by save_reduce in _pickle.
Georg Brandl [Sun, 14 Apr 2013 08:17:35 +0000 (10:17 +0200)]
Update using/mac documentation which was still on 2.5.
Georg Brandl [Sun, 14 Apr 2013 08:13:42 +0000 (10:13 +0200)]
Clarify point in name mangling doc.
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.
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.
R David Murray [Sat, 13 Apr 2013 18:40:51 +0000 (14:40 -0400)]
Reflow paragraph.
R David Murray [Sat, 13 Apr 2013 18:40:33 +0000 (14:40 -0400)]
#2118: clarify smtplib exception documentation.
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.
Ezio Melotti [Sat, 13 Apr 2013 17:12:38 +0000 (20:12 +0300)]
#17571: remove broken links in datetime.py docstring.
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.
Mark Dickinson [Sat, 13 Apr 2013 16:44:44 +0000 (17:44 +0100)]
Issue #17715: Add missing NULL Check to PyNumber_Long.
Andrew Svetlov [Sat, 13 Apr 2013 15:00:04 +0000 (18:00 +0300)]
Revert changes for #13355 by request from Raymond Hettinger
Mark Dickinson [Sat, 13 Apr 2013 14:26:58 +0000 (15:26 +0100)]
Issue #16447: Fix potential segfault when setting __name__ on a class.
Andrew Svetlov [Fri, 12 Apr 2013 20:30:41 +0000 (23:30 +0300)]
Fix whitespaces
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.
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
Ezio Melotti [Fri, 12 Apr 2013 16:19:21 +0000 (19:19 +0300)]
#17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 12 Apr 2013 13:23:24 +0000 (16:23 +0300)]
Merge heads.
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
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.
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.
Roger Serwy [Fri, 12 Apr 2013 00:16:44 +0000 (19:16 -0500)]
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Antoine Pitrou [Thu, 11 Apr 2013 19:01:40 +0000 (21:01 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.
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.
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.
Senthil Kumaran [Thu, 11 Apr 2013 03:55:58 +0000 (20:55 -0700)]
normalize whitespace
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
Benjamin Peterson [Wed, 10 Apr 2013 21:00:56 +0000 (17:00 -0400)]
don't run frame if it has no stack (closes #17669)
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.
Ezio Melotti [Wed, 10 Apr 2013 14:59:20 +0000 (17:59 +0300)]
#17635: fix wrong function name in multiprocessing docs.
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
Senthil Kumaran [Tue, 9 Apr 2013 13:00:16 +0000 (06:00 -0700)]
#17648 - convert test_urllib2.py doctests to unittests
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.
Serhiy Storchaka [Mon, 8 Apr 2013 19:35:02 +0000 (22:35 +0300)]
Close #17666: Fix reading gzip files with an extra field.
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.
Roger Serwy [Sun, 7 Apr 2013 17:41:16 +0000 (12:41 -0500)]
#17613: Prevent traceback when removing syntax colorizer 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.
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.
Andrew Svetlov [Sun, 7 Apr 2013 11:47:05 +0000 (14:47 +0300)]
Merge heads
Andrew Svetlov [Sun, 7 Apr 2013 11:43:17 +0000 (14:43 +0300)]
Update argparse docs to follow order of ArgumentParser() arguments.
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.
Roger Serwy [Sun, 7 Apr 2013 01:26:53 +0000 (20:26 -0500)]
#16887: IDLE now accepts Cancel in tabify/untabify dialog box.