Terry Jan Reedy
f73a48cbb2
Issue 26912: fix broken imports in test_email package.
2016-05-06 17:35:05 -04:00
Terry Jan Reedy
cc20d63e64
Merge with 3.5
2016-05-06 15:58:13 -04:00
Terry Jan Reedy
823c626b43
Issue 26911: fix import (other problems remain).
2016-05-06 15:57:57 -04:00
Serhiy Storchaka
24182a3aaa
Restored parameter name "self" since gdb needs exact specific parameter names.
2016-05-05 16:21:35 +03:00
Raymond Hettinger
584e8aedc3
Issue 26915: Add identity checks to the collections ABC __contains__ methods.
2016-05-05 11:14:06 +03:00
Serhiy Storchaka
d7062de95d
Issue #26918 : Skipped some tests in test_pipes on Android.
...
Patch by Xavier de Gaye.
2016-05-05 10:55:45 +03:00
Serhiy Storchaka
fb81d3cbe7
Issue #26765 : Moved common code for the replace() method of bytes and bytearray
...
to a template file.
2016-05-05 09:26:07 +03:00
Berker Peksag
9fc385748c
Issue #26957 : Remove duplicate 'the' from datetime documentation
...
Patch by Alex Chan.
2016-05-04 23:26:04 +03:00
Berker Peksag
bace976db1
Issue #26957 : Remove duplicate 'the' from datetime documentation
...
Patch by Alex Chan.
2016-05-04 23:25:44 +03:00
Serhiy Storchaka
dd40fc3e57
Issue #26765 : Moved common code and docstrings for bytes and bytearray methods
...
to bytes_methods.c.
2016-05-04 22:23:26 +03:00
Steven D'Aprano
045e635100
Automated merge with ssh://hg.python.org/cpython
2016-05-05 04:47:10 +10:00
Serhiy Storchaka
fcce462e9c
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:52 +03:00
Serhiy Storchaka
7822f151b6
Issue #26811 : gc.get_objects() no longer contains a broken tuple with NULL
...
pointer.
2016-05-04 21:42:05 +03:00
Steven D'Aprano
3b06e24352
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
2016-05-05 03:54:29 +10:00
Jason R. Coombs
ad039f7548
Issue #20120 : Merge with 3.5
2016-05-04 12:00:32 -04:00
Jason R. Coombs
422cf2b4ad
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.
2016-05-04 11:57:32 -04:00
Serhiy Storchaka
45cdcd93c9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:27:17 +03:00
Serhiy Storchaka
290fed43d9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:26:42 +03:00
Serhiy Storchaka
c2f7d87897
Issue #26932 : Fixed support of RTLD_* constants defined as enum values,
...
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
2016-05-04 09:44:44 +03:00
Serhiy Storchaka
0e120525f0
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:52 +03:00
Serhiy Storchaka
a3fd0b26ba
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:03 +03:00
Terry Jan Reedy
478be14ec0
Merge with 3.5
2016-05-02 18:30:19 -04:00
Terry Jan Reedy
929d7f86d5
Clarify IDLE-console differences with respect to the sys module.
...
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:30:02 -04:00
Donald Stufft
7a5842e198
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:05:29 -04:00
Donald Stufft
ac96205325
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:04:59 -04:00
Donald Stufft
2a86122759
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:03:46 -04:00
Serhiy Storchaka
7a9579c0ce
Got rid of redundand "self" parameter declarations.
...
Argument Clinic is now able to infer all needed information.
2016-05-02 13:45:20 +03:00
Berker Peksag
312f208568
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.
2016-05-02 12:26:00 +03:00
Berker Peksag
720e65541c
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.
2016-05-02 12:25:35 +03:00
Serhiy Storchaka
2e310b4c38
Regenerate Argument Clinic code for issue #26874 .
2016-05-01 20:34:00 +03:00
Serhiy Storchaka
df071730bb
Regenerate Argument Clinic code for issue #26874 .
2016-05-01 20:33:24 +03:00
Ethan Furman
354706915c
issue26893: use mro() to examine class heirarchy
2016-05-01 10:04:21 -07:00
Ethan Furman
3803ad47bb
issue26893: use mro() to examine class heirarchy
2016-05-01 10:03:53 -07:00
Serhiy Storchaka
47d1d7f48a
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:42 +03:00
Serhiy Storchaka
dd1bcdf618
Issue #26711 : Fixed the comparison of plistlib.Data with other types.
2016-05-01 13:36:16 +03:00
Serhiy Storchaka
b608196b20
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
2016-05-01 13:07:14 +03:00
Serhiy Storchaka
f5f37d784b
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
2016-05-01 13:06:43 +03:00
Berker Peksag
a2570626c8
Issue #26898 : Fix typo in math.isclose() docstring
...
Patch by Marco Buttu.
2016-05-01 11:27:59 +03:00
Berker Peksag
d6e6f8b829
Issue #26898 : Fix typo in math.isclose() docstring
...
Patch by Marco Buttu.
2016-05-01 11:27:37 +03:00
Berker Peksag
aa9d369707
Issue #23960 : Cleanup args and kwargs on error in PyErr_SetImportError
...
Patch by Ofer Schwarz.
2016-05-01 09:06:57 +03:00
Berker Peksag
ec766d3c15
Issue #23960 : Cleanup args and kwargs on error in PyErr_SetImportError
...
Patch by Ofer Schwarz.
2016-05-01 09:06:36 +03:00
Meador Inge
f1e2671fdf
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.
2016-04-30 22:17:22 -05:00
Meador Inge
8988ebf2a7
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.
2016-04-30 21:56:59 -05:00
Martin Panter
51b697b7f3
Issue #26864 : Merge no_proxy fixes from 3.5
2016-04-30 01:30:57 +00:00
Martin Panter
aa27982ffc
Issue #26864 : Fix case insensitivity and suffix comparison with no_proxy
...
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Berker Peksag
0a5bd51dd3
Issue #13436 : Add a test to make sure that ast.ImportFrom(level=None) works
2016-04-29 19:50:02 +03:00
Berker Peksag
dd745cc3ff
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.
2016-04-29 17:25:51 +03:00
Berker Peksag
6d34bbbfc7
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.
2016-04-29 17:25:29 +03:00
Berker Peksag
0ac70c0e90
Fix typos. Reported by andportnoy on GitHub.
2016-04-29 16:54:10 +03:00
Berker Peksag
3a31cca4ab
Issue #24902 : Print server URL on http.server startup
...
Initial patch by Felix Kaiser.
2016-04-29 16:48:11 +03:00