]>
granicus.if.org Git - python/log
Steven D'Aprano [Wed, 11 May 2016 01:53:01 +0000 (11:53 +1000)]
Branch merge for issue 26977
Steven D'Aprano [Wed, 11 May 2016 01:50:13 +0000 (11:50 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Eric Snow [Tue, 10 May 2016 21:29:05 +0000 (15:29 -0600)]
Fixes #19711: Add tests for reloading namespace packages.
Serhiy Storchaka [Tue, 10 May 2016 09:01:56 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Serhiy Storchaka [Tue, 10 May 2016 09:01:23 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Benjamin Peterson [Tue, 10 May 2016 06:44:30 +0000 (23:44 -0700)]
merge 3.5 (#26986)
Benjamin Peterson [Tue, 10 May 2016 06:43:53 +0000 (23:43 -0700)]
improve PyFunction_New docs (closes #26986)
Patch from Xiang Zhang.
Zachary Ware [Mon, 9 May 2016 19:50:36 +0000 (14:50 -0500)]
Closes #26987: Merge with 3.5
Zachary Ware [Mon, 9 May 2016 19:49:31 +0000 (14:49 -0500)]
Issue #26987: Correct implementation to match comment
This was inadvertently changed in
644b677c2ae5 to use self._stderr
instead of _sys.stderr.
Serhiy Storchaka [Sun, 8 May 2016 21:14:22 +0000 (00:14 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 21:11:59 +0000 (00:11 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 20:44:54 +0000 (23:44 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:43:50 +0000 (23:43 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:36:44 +0000 (23:36 +0300)]
Issue #18531: Single var-keyword argument of dict subtype was passed
unscathed to the C-defined function. Now it is converted to exact dict.
Serhiy Storchaka [Sun, 8 May 2016 19:00:09 +0000 (22:00 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 18:59:46 +0000 (21:59 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 17:46:55 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.
Serhiy Storchaka [Sun, 8 May 2016 17:46:22 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.
Martin Panter [Sun, 8 May 2016 14:02:35 +0000 (14:02 +0000)]
Merge typo fixes from 3.5
Martin Panter [Sun, 8 May 2016 13:53:41 +0000 (13:53 +0000)]
Corrections for a/an in code comments and documentation
Martin Panter [Sun, 8 May 2016 13:48:10 +0000 (13:48 +0000)]
Fix typos in comments, documentation and test method names
Martin Panter [Sun, 8 May 2016 12:22:37 +0000 (12:22 +0000)]
Issue #26512: Clarify Integral; tidy up table of rounding functions
Based on patch by Julien.
Steven D'Aprano [Sun, 8 May 2016 12:14:38 +0000 (22:14 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Martin Panter [Sun, 8 May 2016 12:34:58 +0000 (12:34 +0000)]
Issue #26512: Merge rounding doc from 3.5
Berker Peksag [Sat, 7 May 2016 18:13:50 +0000 (21:13 +0300)]
Issue #26924: Fix Windows buildbots
sem_unlink is defined as
#define SEM_UNLINK(name) 0
under Windows.
Berker Peksag [Sat, 7 May 2016 17:39:20 +0000 (20:39 +0300)]
Issue #26924: Do not define _multiprocessing.sem_unlink under Android
Android declares sem_unlink but doesn't implement it.
Berker Peksag [Sat, 7 May 2016 13:59:01 +0000 (16:59 +0300)]
Fix self.fail() call in test_data_header
Berker Peksag [Sat, 7 May 2016 13:58:41 +0000 (16:58 +0300)]
Fix self.fail() call in test_data_header
Serhiy Storchaka [Sat, 7 May 2016 13:45:18 +0000 (16:45 +0300)]
Issue #26708: Use the "const" qualifier for immutable strings.
This can help to avoid unintentional modification.
Berker Peksag [Sat, 7 May 2016 13:37:35 +0000 (16:37 +0300)]
Replace example.com with pythontest.net in test_urllibnet
example.com/404 returns 500 instead of 404 now.
Berker Peksag [Sat, 7 May 2016 13:37:09 +0000 (16:37 +0300)]
Replace example.com with pythontest.net in test_urllibnet
example.com/404 returns 500 instead of 404 now.
Serhiy Storchaka [Sat, 7 May 2016 12:43:59 +0000 (15:43 +0300)]
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
Serhiy Storchaka [Sat, 7 May 2016 12:41:09 +0000 (15:41 +0300)]
Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
Serhiy Storchaka [Sat, 7 May 2016 07:49:58 +0000 (10:49 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:49:07 +0000 (10:49 +0300)]
Issue #26736: Used HTTPS for external links in the documentation if possible.
Serhiy Storchaka [Sat, 7 May 2016 07:06:39 +0000 (10:06 +0300)]
Issue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 07:05:02 +0000 (10:05 +0300)]
Issue #26889: Fixed hyperlinks formatting.
Serhiy Storchaka [Sat, 7 May 2016 05:44:36 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpc.client documentation.
Serhiy Storchaka [Sat, 7 May 2016 05:44:15 +0000 (08:44 +0300)]
Issue #26889: Tweaked xmlrpc.client documentation.
Terry Jan Reedy [Fri, 6 May 2016 21:35:21 +0000 (17:35 -0400)]
Merge with 3.5
Terry Jan Reedy [Fri, 6 May 2016 21:35:05 +0000 (17:35 -0400)]
Issue 26912: fix broken imports in test_email package.
Terry Jan Reedy [Fri, 6 May 2016 19:58:13 +0000 (15:58 -0400)]
Merge with 3.5
Terry Jan Reedy [Fri, 6 May 2016 19:57:57 +0000 (15:57 -0400)]
Issue 26911: fix import (other problems remain).
Serhiy Storchaka [Thu, 5 May 2016 13:21:35 +0000 (16:21 +0300)]
Restored parameter name "self" since gdb needs exact specific parameter names.
Raymond Hettinger [Thu, 5 May 2016 08:14:06 +0000 (11:14 +0300)]
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
Serhiy Storchaka [Thu, 5 May 2016 07:55:45 +0000 (10:55 +0300)]
Issue #26918: Skipped some tests in test_pipes on Android.
Patch by Xavier de Gaye.
Serhiy Storchaka [Thu, 5 May 2016 06:26:07 +0000 (09:26 +0300)]
Issue #26765: Moved common code for the replace() method of bytes and bytearray
to a template file.
Berker Peksag [Wed, 4 May 2016 20:26:04 +0000 (23:26 +0300)]
Issue #26957: Remove duplicate 'the' from datetime documentation
Patch by Alex Chan.
Berker Peksag [Wed, 4 May 2016 20:25:44 +0000 (23:25 +0300)]
Issue #26957: Remove duplicate 'the' from datetime documentation
Patch by Alex Chan.
Serhiy Storchaka [Wed, 4 May 2016 19:23:26 +0000 (22:23 +0300)]
Issue #26765: Moved common code and docstrings for bytes and bytearray methods
to bytes_methods.c.
Steven D'Aprano [Wed, 4 May 2016 18:47:10 +0000 (04:47 +1000)]
Automated merge with ssh://hg.python.org/cpython
Serhiy Storchaka [Wed, 4 May 2016 18:42:52 +0000 (21:42 +0300)]
Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL
pointer.
Serhiy Storchaka [Wed, 4 May 2016 18:42:05 +0000 (21:42 +0300)]
Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL
pointer.
Steven D'Aprano [Wed, 4 May 2016 17:54:29 +0000 (03:54 +1000)]
Issue 26002 and 25974
patches by Upendra Kumar and Stefan Krah
speed up median by using bisect, and general speedup for Decimals using as_integer_ratio
Jason R. Coombs [Wed, 4 May 2016 16:00:32 +0000 (12:00 -0400)]
Issue #20120: Merge with 3.5
Jason R. Coombs [Wed, 4 May 2016 15:57:32 +0000 (11:57 -0400)]
Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
Serhiy Storchaka [Wed, 4 May 2016 08:27:17 +0000 (11:27 +0300)]
Issue #26873: xmlrpc now raises ResponseError on unsupported type tags
instead of silently return incorrect result.
Serhiy Storchaka [Wed, 4 May 2016 08:26:42 +0000 (11:26 +0300)]
Issue #26873: xmlrpc now raises ResponseError on unsupported type tags
instead of silently return incorrect result.
Serhiy Storchaka [Wed, 4 May 2016 06:44:44 +0000 (09:44 +0300)]
Issue #26932: Fixed support of RTLD_* constants defined as enum values,
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
Serhiy Storchaka [Tue, 3 May 2016 18:17:52 +0000 (21:17 +0300)]
Issue #24950: Fixed expanduser tests when the users home directory in pwd is "/".
Based on patch by SilentGhost.
Serhiy Storchaka [Tue, 3 May 2016 18:17:03 +0000 (21:17 +0300)]
Issue #24950: Fixed expanduser tests when the users home directory in pwd is "/".
Based on patch by SilentGhost.
Terry Jan Reedy [Mon, 2 May 2016 22:30:19 +0000 (18:30 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 2 May 2016 22:30:02 +0000 (18:30 -0400)]
Clarify IDLE-console differences with respect to the sys module.
The reload(sys) effect was the crux of a Stackoverflow question.
Donald Stufft [Mon, 2 May 2016 11:05:29 +0000 (07:05 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Donald Stufft [Mon, 2 May 2016 11:04:59 +0000 (07:04 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Donald Stufft [Mon, 2 May 2016 11:03:46 +0000 (07:03 -0400)]
Upgrade ensurepip bundled setuptools to 20.10.1
Serhiy Storchaka [Mon, 2 May 2016 10:45:20 +0000 (13:45 +0300)]
Got rid of redundand "self" parameter declarations.
Argument Clinic is now able to infer all needed information.
Berker Peksag [Mon, 2 May 2016 09:26:00 +0000 (12:26 +0300)]
Issue #18916: Update thread module docstrings
* Fix acquire() signature
* Remove outdated help(LockType) reference
* Replace PyThread_allocate_lock() with threading.Lock()
Patch by Christopher Welborn.
Berker Peksag [Mon, 2 May 2016 09:25:35 +0000 (12:25 +0300)]
Issue #18916: Update thread module docstrings
* Fix acquire() signature
* Remove outdated help(LockType) reference
* Replace PyThread_allocate_lock() with threading.Lock()
Patch by Christopher Welborn.
Serhiy Storchaka [Sun, 1 May 2016 17:34:00 +0000 (20:34 +0300)]
Regenerate Argument Clinic code for issue #26874.
Serhiy Storchaka [Sun, 1 May 2016 17:33:24 +0000 (20:33 +0300)]
Regenerate Argument Clinic code for issue #26874.
Ethan Furman [Sun, 1 May 2016 17:04:21 +0000 (10:04 -0700)]
issue26893: use mro() to examine class heirarchy
Ethan Furman [Sun, 1 May 2016 17:03:53 +0000 (10:03 -0700)]
issue26893: use mro() to examine class heirarchy
Serhiy Storchaka [Sun, 1 May 2016 10:36:42 +0000 (13:36 +0300)]
Issue #26711: Fixed the comparison of plistlib.Data with other types.
Serhiy Storchaka [Sun, 1 May 2016 10:36:16 +0000 (13:36 +0300)]
Issue #26711: Fixed the comparison of plistlib.Data with other types.
Serhiy Storchaka [Sun, 1 May 2016 10:07:14 +0000 (13:07 +0300)]
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
Serhiy Storchaka [Sun, 1 May 2016 10:06:43 +0000 (13:06 +0300)]
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
Berker Peksag [Sun, 1 May 2016 08:27:59 +0000 (11:27 +0300)]
Issue #26898: Fix typo in math.isclose() docstring
Patch by Marco Buttu.
Berker Peksag [Sun, 1 May 2016 08:27:37 +0000 (11:27 +0300)]
Issue #26898: Fix typo in math.isclose() docstring
Patch by Marco Buttu.
Berker Peksag [Sun, 1 May 2016 06:06:57 +0000 (09:06 +0300)]
Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError
Patch by Ofer Schwarz.
Berker Peksag [Sun, 1 May 2016 06:06:36 +0000 (09:06 +0300)]
Issue #23960: Cleanup args and kwargs on error in PyErr_SetImportError
Patch by Ofer Schwarz.
Meador Inge [Sun, 1 May 2016 03:17:22 +0000 (22:17 -0500)]
Issue #24114: Fix an uninitialized variable in `ctypes.util`.
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
Meador Inge [Sun, 1 May 2016 02:56:59 +0000 (21:56 -0500)]
Issue #24114: Fix an uninitialized variable in `ctypes.util`.
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
Martin Panter [Sat, 30 Apr 2016 01:30:57 +0000 (01:30 +0000)]
Issue #26864: Merge no_proxy fixes from 3.5
Martin Panter [Sat, 30 Apr 2016 01:03:40 +0000 (01:03 +0000)]
Issue #26864: Fix case insensitivity and suffix comparison with no_proxy
Patch by Xiang Zhang.
Berker Peksag [Fri, 29 Apr 2016 16:50:02 +0000 (19:50 +0300)]
Issue #13436: Add a test to make sure that ast.ImportFrom(level=None) works
Berker Peksag [Fri, 29 Apr 2016 14:25:51 +0000 (17:25 +0300)]
Issue #25551: Test condition behavior instead of its internals
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.
The test was added by Nir Soffer in
6108d30dde21 .
Patch by Nir Soffer.
Berker Peksag [Fri, 29 Apr 2016 14:25:29 +0000 (17:25 +0300)]
Issue #25551: Test condition behavior instead of its internals
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.
The test was added by Nir Soffer in
6108d30dde21 .
Patch by Nir Soffer.
Berker Peksag [Fri, 29 Apr 2016 13:54:10 +0000 (16:54 +0300)]
Fix typos. Reported by andportnoy on GitHub.
Berker Peksag [Fri, 29 Apr 2016 13:48:11 +0000 (16:48 +0300)]
Issue #24902: Print server URL on http.server startup
Initial patch by Felix Kaiser.
Berker Peksag [Fri, 29 Apr 2016 11:41:41 +0000 (14:41 +0300)]
Issue #26322: Document typing.Set, patch by Joseph Moran
Berker Peksag [Fri, 29 Apr 2016 11:41:16 +0000 (14:41 +0300)]
Issue #26322: Document typing.Set, patch by Joseph Moran
Raymond Hettinger [Fri, 29 Apr 2016 08:37:05 +0000 (01:37 -0700)]
Removed unused initialization and the uninteresting comment.
Serhiy Storchaka [Fri, 29 Apr 2016 08:31:52 +0000 (11:31 +0300)]
Issue #26880: Removed redundant checks in set.__init__.
Serhiy Storchaka [Fri, 29 Apr 2016 06:12:25 +0000 (09:12 +0300)]
Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of
itemgetter, attrgetter and methodcaller objects.
Serhiy Storchaka [Fri, 29 Apr 2016 06:10:55 +0000 (09:10 +0300)]
Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of
itemgetter, attrgetter and methodcaller objects.
Zachary Ware [Thu, 28 Apr 2016 19:47:33 +0000 (14:47 -0500)]
Closes #26875: Merge with 3.5
Zachary Ware [Thu, 28 Apr 2016 19:47:12 +0000 (14:47 -0500)]
Issue #26875: Fix mmap example
Patch by Xiang Zhang.
Zachary Ware [Thu, 28 Apr 2016 19:40:08 +0000 (14:40 -0500)]
Closes #26874: Merge with 3.5
Zachary Ware [Thu, 28 Apr 2016 19:39:50 +0000 (14:39 -0500)]
Issue #26874: Simplify the divmod docstring