Yury Selivanov
0c9c4610cb
Issue 24374: Plug refleak in set_coroutine_wrapper
...
(Merge 3.5)
2015-06-04 10:17:25 -04:00
Yury Selivanov
94c2263005
Issue 24374: Plug refleak in set_coroutine_wrapper
2015-06-04 10:16:51 -04:00
Eric Snow
f02dcc8803
Merge from 3.5.
2015-06-04 00:12:14 -06:00
Eric Snow
4fabf02633
Issue #24369 : Defend against key-changes during iteration.
2015-06-04 00:09:56 -06:00
Guido van Rossum
43a79cc552
Update typing.py: remove isinstance() support (Mark struck it from the PEP).
2015-06-03 19:04:42 -07:00
Eric Snow
d14de5e22d
Merge from 3.5.
2015-06-02 20:43:37 -06:00
Eric Snow
ac02ef373f
Issue #24368 : Support keyword arguments in OrderedDict methods.
2015-06-02 20:42:14 -06:00
Yury Selivanov
082332ce37
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
...
(Merge 3.5)
2015-06-02 18:45:11 -04:00
Yury Selivanov
aab3c4a211
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
2015-06-02 18:43:51 -04:00
Donald Stufft
75124e08c5
Merge the fix for #24267
2015-06-02 10:38:21 -04:00
Donald Stufft
67872ba91a
Merge the fix for #24267
2015-06-02 10:38:01 -04:00
Donald Stufft
71a8589ddc
Closes #24267 - Does not check version on ensurepip uninstall
...
Ensure that the uninstall helper for Windows passes the proper
flags to pip to prevent it from checking PyPI if the pip that
we're currently attempting to uninstall is the latest verison.
2015-06-02 10:37:08 -04:00
Eric Snow
ec6cd162de
Merge from 3.5.
2015-06-01 23:35:40 -06:00
Eric Snow
b952ab43f2
Issue #24359 : Check for changed OrderedDict size during iteration.
2015-06-01 23:35:13 -06:00
Eric Snow
e9dd08d08c
Merge from 3.5.
2015-06-01 23:14:26 -06:00
Eric Snow
d171975609
Issue #24348 : Drop superfluous increfs/decrefs.
2015-06-01 23:12:13 -06:00
Eric Snow
c976b73002
Merge from 3.5.
2015-06-01 23:06:20 -06:00
Eric Snow
a762af74b2
Issue #24347 : Set KeyError if PyDict_GetItemWithError returns NULL.
2015-06-01 22:59:08 -06:00
Yury Selivanov
9f59b0dcf2
Issue 24017: Add a test for CoroWrapper and 'async def' coroutines
2015-05-31 21:44:15 -04:00
Yury Selivanov
e42cc38639
Issue 24017: Add a test for CoroWrapper and 'async def' coroutines
2015-05-31 21:44:05 -04:00
Tal Einat
bc8db8fa1b
Issue #19543 : Implementation of isclose as per PEP 485
...
For details, see:
PEP 0485 -- A Function for testing approximate equality
Functions added: math.isclose() and cmath.isclose().
Original code by Chris Barker. Patch by Tal Einat.
(merge 3.5)
2015-05-31 22:15:11 +03:00
Tal Einat
d5519ed7f4
Issue #19543 : Implementation of isclose as per PEP 485
...
For details, see:
PEP 0485 -- A Function for testing approximate equality
Functions added: math.isclose() and cmath.isclose().
Original code by Chris Barker. Patch by Tal Einat.
2015-05-31 22:05:00 +03:00
Yury Selivanov
eb141c48af
Issue 24004: Fix DeprecationWarning in a unittest
...
(Merge from 3.5)
2015-05-31 11:28:57 -04:00
Yury Selivanov
439c5fe3ae
Issue 24004: Fix DeprecationWarning in a unittest
2015-05-31 11:28:35 -04:00
Serhiy Storchaka
442a894d1e
Issue #24284 : The startswith and endswith methods of the str class no longer
...
return True when finding the empty string and the indexes are completely out
of range.
2015-05-31 09:16:13 +03:00
Serhiy Storchaka
d4ea03c785
Issue #24284 : The startswith and endswith methods of the str class no longer
...
return True when finding the empty string and the indexes are completely out
of range.
2015-05-31 09:15:51 +03:00
Yury Selivanov
23f8d52087
Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables
...
(Merge 3.5)
2015-05-30 21:04:58 -04:00
Yury Selivanov
ad583a8e6d
Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables
2015-05-30 21:04:37 -04:00
Yury Selivanov
c8687822c1
Issue #23934 : Fix inspect.signature to fail correctly for builtin types.
...
Initial patch by James Powell. (Merge 3.5)
2015-05-30 17:09:15 -04:00
Yury Selivanov
bf304fcb32
Issue #23934 : Fix inspect.signature to fail correctly for builtin types.
...
Initial patch by James Powell.
2015-05-30 17:08:36 -04:00
Eric Snow
e39facfdbc
Issue #16991 : Ensure that the proper OrderedDict is used in tests.
2015-05-30 13:24:54 -06:00
Eric Snow
3ef8958e40
Merge from 3.5.
2015-05-30 12:00:05 -06:00
Eric Snow
67fb92e8c6
Issue #16991 : Do not return None from OrderedDict.__reversed__.
2015-05-30 11:43:36 -06:00
Serhiy Storchaka
e971297c01
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
...
Refactored timeit.__init__ for unified handling of stmt and setup parameters.
2015-05-30 19:45:36 +03:00
Serhiy Storchaka
1b560cbf85
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
...
Refactored timeit.__init__ for unified handling of stmt and setup parameters.
2015-05-30 19:44:55 +03:00
Serhiy Storchaka
f28fa66351
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
2015-05-30 19:38:26 +03:00
Yury Selivanov
7aa5341164
Reverting my previous commit.
...
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Serhiy Storchaka
f49c42324f
Use test.support.start_threads() in threaded lru_cache tests.
2015-05-30 15:49:42 +03:00
Serhiy Storchaka
bf2b3b72d3
Use test.support.start_threads() in threaded lru_cache tests.
2015-05-30 15:49:17 +03:00
Benjamin Peterson
e16f427243
Merge 3.5
2015-05-30 00:02:25 -05:00
Benjamin Peterson
3d1151d2c0
use assert method in another place
2015-05-30 00:02:17 -05:00
Eric Snow
96c6af9b20
Issue #16991 : Add a C implementation of collections.OrderedDict.
2015-05-29 22:21:39 -06:00
Eric Snow
47db71756d
Issue #16991 : Add a C implementation of collections.OrderedDict.
2015-05-29 22:21:39 -06:00
Benjamin Peterson
3979323ca3
merge 3.5
2015-05-29 18:44:50 -05:00
Benjamin Peterson
0a3297d7d4
use assert method ( #24328 )
2015-05-29 18:44:45 -05:00
Benjamin Peterson
0c70ca9aac
merge 3.5 ( #24328 )
2015-05-29 17:11:36 -05:00
Benjamin Peterson
e20056c8f7
fix importing one char extension modules ( closes #24328 )
2015-05-29 17:10:30 -05:00
Serhiy Storchaka
07739f3555
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
...
Original patch by David Moore.
2015-05-30 00:58:09 +03:00
Serhiy Storchaka
a663121e10
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
...
Original patch by David Moore.
2015-05-30 00:57:21 +03:00
Serhiy Storchaka
50451eb912
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
...
Original patch by David Moore.
2015-05-30 00:53:26 +03:00