]>
granicus.if.org Git - python/log
Martin Panter [Sun, 8 May 2016 12:34:58 +0000 (12:34 +0000)]
Issue #26512: Merge rounding doc from 3.5
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.
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
Zachary Ware [Thu, 28 Apr 2016 19:25:32 +0000 (14:25 -0500)]
Closes #26874: Merge with 3.5
Zachary Ware [Thu, 28 Apr 2016 19:24:55 +0000 (14:24 -0500)]
Issue #26874: Fix divmod docstring
Serhiy Storchaka [Wed, 27 Apr 2016 20:13:46 +0000 (23:13 +0300)]
Issue #25788: fileinput.hook_encoded() now supports an "errors" argument
for passing to open. Original patch by Joseph Hackman.
Serhiy Storchaka [Wed, 27 Apr 2016 20:06:41 +0000 (23:06 +0300)]
fileinput.hook_encoded() uses builtin open(), not codecs.open().
Serhiy Storchaka [Wed, 27 Apr 2016 20:06:15 +0000 (23:06 +0300)]
fileinput.hook_encoded() uses builtin open(), not codecs.open().
Stefan Krah [Tue, 26 Apr 2016 15:04:18 +0000 (17:04 +0200)]
Issue #26863: HAVE_FACCESSAT should (currently) not be defined on Android.
Stefan Krah [Tue, 26 Apr 2016 14:48:48 +0000 (16:48 +0200)]
Issue #26854: Android has a different include path for soundcard.h.
Stefan Krah [Tue, 26 Apr 2016 14:34:41 +0000 (16:34 +0200)]
Issue #26846: Post commit cleanup.
Stefan Krah [Tue, 26 Apr 2016 14:20:17 +0000 (16:20 +0200)]
Issue #26857: Workaround for missing symbol "gethostbyaddr_r" on Android.
Martin Panter [Tue, 26 Apr 2016 11:47:10 +0000 (11:47 +0000)]
Issue #20598: Merge argparse docs from 3.5
Martin Panter [Tue, 26 Apr 2016 11:41:25 +0000 (11:41 +0000)]
Issue #20598: Replace trivial split() calls with lists in argparse docs
Victor Stinner [Tue, 26 Apr 2016 10:35:13 +0000 (12:35 +0200)]
Issue #25349, #26249: Fix memleak in formatfloat()
Stefan Krah [Tue, 26 Apr 2016 09:43:21 +0000 (11:43 +0200)]
Issue #20306: Android is the only system that returns NULL for the pw_passwd
field. Rather than cluttering the tests, translate the arguably more correct
"None" to an empty string.
Raymond Hettinger [Tue, 26 Apr 2016 08:11:28 +0000 (01:11 -0700)]
merge
Raymond Hettinger [Tue, 26 Apr 2016 08:11:10 +0000 (01:11 -0700)]
Issue #24715: Improve sort stability example
Raymond Hettinger [Tue, 26 Apr 2016 07:10:00 +0000 (00:10 -0700)]
Issue #16394: Note the tee() pure python equivalent is only a rough approximation.
Serhiy Storchaka [Tue, 26 Apr 2016 06:31:11 +0000 (09:31 +0300)]
Issue #26634: recursive_repr() now sets __qualname__ of wrapper.
Patch by Xiang Zhang.
Serhiy Storchaka [Tue, 26 Apr 2016 06:30:44 +0000 (09:30 +0300)]
Issue #26634: recursive_repr() now sets __qualname__ of wrapper.
Patch by Xiang Zhang.
Stefan Krah [Mon, 25 Apr 2016 23:56:50 +0000 (01:56 +0200)]
Issue #22747: Workaround for systems without langinfo.h.
Stefan Krah [Mon, 25 Apr 2016 23:09:18 +0000 (01:09 +0200)]
Issue #20306: The pw_gecos and pw_passwd fields are not required by POSIX.
If they aren't present, set them to an empty string.
Stefan Krah [Mon, 25 Apr 2016 20:48:42 +0000 (22:48 +0200)]
Issue #26846: Workaround for non-standard stdlib.h on Android.
Stefan Krah [Mon, 25 Apr 2016 19:38:53 +0000 (21:38 +0200)]
Issue #17905: Do not guard locale include with HAVE_LANGINFO_H.