Benjamin Peterson
d3a2a95125
use correct __new__ method ( closes #24552 )
2015-07-02 16:58:22 -05:00
Benjamin Peterson
09dd773c13
merge 3.5 ( #24552 )
2015-07-02 16:19:05 -05:00
Benjamin Peterson
42e913aa3a
merge 3.4 ( #24552 )
2015-07-02 16:18:58 -05:00
Benjamin Peterson
80f78a3efc
fix use after free ( closes #24552 )
2015-07-02 16:18:38 -05:00
Lars Gustäbel
60eaba04cd
Merge with 3.5: Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:42:09 +02:00
Lars Gustäbel
49c521fd5d
Merge with 3.4: Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:41:03 +02:00
Lars Gustäbel
b7a688b3a4
Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:38:38 +02:00
Yury Selivanov
9dbd4790a3
Merge 3.5
2015-07-01 12:30:26 -04:00
Yury Selivanov
f27015255f
Issue #24400 : Add one more unittest for CoroutineType.__await__
2015-07-01 12:29:55 -04:00
Yury Selivanov
d18f9854b4
Merge 3.5
2015-06-30 22:06:55 -04:00
Yury Selivanov
59a3b6764c
Issue #24541 : Drop test_inspect.test_eightteen unittest; update docs
...
Suggested by Martin Panter.
2015-06-30 22:06:42 -04:00
Yury Selivanov
50d5516dce
Merge 3.5
2015-06-30 21:45:03 -04:00
Yury Selivanov
22f68d5dd6
Issue #24541 : Update comment in test_inspect.test_eightteen
2015-06-30 21:44:52 -04:00
Yury Selivanov
17314ab4dc
Merge 3.5 (Issue #24400 )
2015-06-30 21:19:00 -04:00
Yury Selivanov
8a8f453c5a
Issue #24400 : Fix failing unittest
2015-06-30 21:18:27 -04:00
Yury Selivanov
93a3252c9c
Merge 3.5 (Issue #24400 )
2015-06-30 18:19:18 -04:00
Yury Selivanov
a74b5e59af
Issue #24400 : Remove inspect.isawaitable().
...
isawaitable() was added before collections.abc.Awaitable; now,
with Awaitable, it is no longer needed (we don't have ishashable()
or isiterable() methods in the inspect module either).
2015-06-30 18:19:01 -04:00
Yury Selivanov
b2c42c2a8f
Merge 3.5
2015-06-30 12:51:29 -04:00
Yury Selivanov
86cd7d6b75
test_coroutines: remove whitespace
2015-06-30 12:51:12 -04:00
Yury Selivanov
3bd2b98c29
Merge 3.5 (Issue #24528 )
2015-06-30 12:49:18 -04:00
Yury Selivanov
9dec03571f
Issue #24528 : Improve error message for awaits in comprehensions
2015-06-30 12:49:04 -04:00
Serhiy Storchaka
c28e985f3c
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 23:11:51 +03:00
Serhiy Storchaka
4a01cab898
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 23:08:52 +03:00
Serhiy Storchaka
05744ac6e0
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 22:35:58 +03:00
Serhiy Storchaka
81da944d61
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:18:55 +03:00
Serhiy Storchaka
bc9e75ed02
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:18:01 +03:00
Serhiy Storchaka
7b6e3b91f5
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:14:06 +03:00
Jason R. Coombs
cbc50d96b8
Issue #20387 : Merge with 3.5
2015-06-28 11:15:13 -04:00
Jason R. Coombs
a95a476b3a
Issue #20387 : Merge test and patch from 3.4.4
2015-06-28 11:13:30 -04:00
Jason R. Coombs
50373e6c21
Issue #20387 : Merge
2015-06-28 11:10:29 -04:00
Serhiy Storchaka
1e8d91adfe
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:56:28 +03:00
Serhiy Storchaka
b9b9e7b46a
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:55:33 +03:00
Serhiy Storchaka
449e2be12b
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:52:09 +03:00
Jason R. Coombs
80c29ac1ea
Issue #20387 : Merge patch and test
2015-06-28 10:23:11 -04:00
Serhiy Storchaka
9aad9f2740
Issue #24336 : The contextmanager decorator now works with functions with
...
keyword arguments called "func" and "self". Patch by Martin Panter.
2015-06-28 17:09:11 +03:00
Serhiy Storchaka
eab7704044
Issue #24336 : The contextmanager decorator now works with functions with
...
keyword arguments called "func" and "self". Patch by Martin Panter.
2015-06-28 17:08:35 +03:00
Serhiy Storchaka
101ff3541c
Issue #24336 : The contextmanager decorator now works with functions with
...
keyword arguments called "func" and "self". Patch by Martin Panter.
2015-06-28 17:06:07 +03:00
Benjamin Peterson
b5048d3938
merge 3.5
2015-06-27 15:46:31 -05:00
Benjamin Peterson
4801383c29
upgrade to Unicode 8.0.0
2015-06-27 15:45:56 -05:00
Berker Peksag
ae44292fe2
Issue #23684 : Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
...
Patch by Martin Panter.
2015-06-25 23:39:53 +03:00
Berker Peksag
a7c781724f
Issue #23684 : Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
...
Patch by Martin Panter.
2015-06-25 23:39:26 +03:00
Berker Peksag
89584c97e4
Issue #23684 : Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
...
Patch by Martin Panter.
2015-06-25 23:38:48 +03:00
Yury Selivanov
2cb6b7a7ff
Merge 3.5 (issue #24325 & #24400 )
2015-06-24 12:51:55 -04:00
Yury Selivanov
f847f1fba7
Issue #24400 , #24325 : More tests for types._GeneratorWrapper
...
Also, make 'wrapped' and 'isgen' private.
2015-06-24 12:49:28 -04:00
Yury Selivanov
ff9284bcb7
Merge 3.5 (Issue #24325 , #24400 )
2015-06-24 11:45:21 -04:00
Yury Selivanov
00e3372358
Issue #24325 , #24400 : Add more unittests for types.coroutine; tweak wrapper implementation.
2015-06-24 11:44:51 -04:00
Yury Selivanov
0ebde5b893
Merge 3.5
2015-06-24 10:55:33 -04:00
Yury Selivanov
fcba97242b
Issue #24495 , #24400 : Test asyncio.Task.repr in debug mode
2015-06-24 10:55:12 -04:00
Yury Selivanov
57ed4181fe
Fix asyncio unittests in debug mode (Merge 3.5)
2015-06-24 10:48:20 -04:00
Yury Selivanov
5ac716251f
Fix asyncio unittests in debug mode
2015-06-24 10:47:44 -04:00
Yury Selivanov
db422576a7
Issue #24400 : Fix CoroWrapper for 'async def' coroutines
2015-06-24 10:32:41 -04:00
Yury Selivanov
8f1c99321b
Issue #24400 : Fix CoroWrapper for 'async def' coroutines
2015-06-24 10:32:22 -04:00
Yury Selivanov
29a602a140
Issue #24400 : Fix CoroWrapper for 'async def' coroutines
2015-06-24 10:30:14 -04:00
Steve Dower
049030b06a
Closes #24244 : Removes invalid test from test_time
2015-06-23 20:48:52 -07:00
Steve Dower
7aec764d73
Closes #24244 : Removes invalid test from test_time
2015-06-23 20:48:32 -07:00
Antoine Pitrou
d6362db83d
Issue #24489 : ensure a previously set C errno doesn't disturb cmath.polar().
2015-06-23 14:39:57 +02:00
Antoine Pitrou
a72f0cdaea
Issue #24489 : ensure a previously set C errno doesn't disturb cmath.polar().
2015-06-23 14:38:13 +02:00
Antoine Pitrou
6bc217dd3d
Issue #24489 : ensure a previously set C errno doesn't disturb cmath.polar().
2015-06-23 14:31:11 +02:00
Yury Selivanov
6edc2f7549
Issue #24400 : Merge 3.5
2015-06-22 12:31:24 -04:00
Yury Selivanov
5376ba9630
Issue #24400 : Introduce a distinct type for 'async def' coroutines.
...
Summary of changes:
1. Coroutines now have a distinct, separate from generators
type at the C level: PyGen_Type, and a new typedef PyCoroObject.
PyCoroObject shares the initial segment of struct layout with
PyGenObject, making it possible to reuse existing generators
machinery. The new type is exposed as 'types.CoroutineType'.
As a consequence of having a new type, CO_GENERATOR flag is
no longer applied to coroutines.
2. Having a separate type for coroutines made it possible to add
an __await__ method to the type. Although it is not used by the
interpreter (see details on that below), it makes coroutines
naturally (without using __instancecheck__) conform to
collections.abc.Coroutine and collections.abc.Awaitable ABCs.
[The __instancecheck__ is still used for generator-based
coroutines, as we don't want to add __await__ for generators.]
3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to
allow passing native coroutines to the YIELD_FROM opcode.
Before this change, 'yield from o' expression was compiled to:
(o)
GET_ITER
LOAD_CONST
YIELD_FROM
Now, we use GET_YIELD_FROM_ITER instead of GET_ITER.
The reason for adding a new opcode is that GET_ITER is used
in some contexts (such as 'for .. in' loops) where passing
a coroutine object is invalid.
4. Add two new introspection functions to the inspec module:
getcoroutinestate(c) and getcoroutinelocals(c).
5. inspect.iscoroutine(o) is updated to test if 'o' is a native
coroutine object. Before this commit it used abc.Coroutine,
and it was requested to update inspect.isgenerator(o) to use
abc.Generator; it was decided, however, that inspect functions
should really be tailored for checking for native types.
6. sys.set_coroutine_wrapper(w) API is updated to work with only
native coroutines. Since types.coroutine decorator supports
any type of callables now, it would be confusing that it does
not work for all types of coroutines.
7. Exceptions logic in generators C implementation was updated
to raise clearer messages for coroutines:
Before: TypeError("generator raised StopIteration")
After: TypeError("coroutine raised StopIteration")
2015-06-22 12:19:30 -04:00
Jason R. Coombs
b6d1cdda8e
Issue #20387 : Correct test to properly capture expectation.
2015-06-25 22:42:24 -04:00
Jason R. Coombs
5713b3c5bf
Issue #20387 : Add test capturing failure to roundtrip indented code in tokenize module.
2015-06-20 19:52:22 -04:00
Jason R. Coombs
7cf36387e4
Remove unused import and remove doctest-only import into doctests.
2015-06-20 19:13:50 -04:00
Victor Stinner
138adb8d05
(Merge 3.4) Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 22:01:54 +02:00
Victor Stinner
e12e7aa3fd
Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 21:58:00 +02:00
Victor Stinner
cf05970307
Remove unused import on test_os
2015-06-12 21:57:50 +02:00
Victor Stinner
47aacc8f69
Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 17:26:23 +02:00
Serhiy Storchaka
c5d2d40238
Issue #24299 : Fixed test__locale on Solaris.
2015-06-08 18:50:28 +03:00
Serhiy Storchaka
23e6109112
Issue #24299 : Fixed test__locale on Solaris.
2015-06-08 18:50:18 +03:00
Serhiy Storchaka
07c002573a
Issue #24299 : Fixed test__locale on Solaris.
2015-06-08 18:48:33 +03:00
Serhiy Storchaka
29e26a72d7
Issue #14373 : Other attempt to fix threaded test for lru_cache().
2015-06-08 12:44:43 +03:00
Serhiy Storchaka
391af751f2
Issue #14373 : Other attempt to fix threaded test for lru_cache().
2015-06-08 12:44:18 +03:00
Serhiy Storchaka
40e74006ad
Issue #14373 : C implementation of functools.lru_cache() now can be used with
...
methods.
2015-06-08 11:20:22 +03:00
Serhiy Storchaka
e7070f09bc
Issue #14373 : C implementation of functools.lru_cache() now can be used with
...
methods.
2015-06-08 11:19:24 +03:00
Serhiy Storchaka
df2cbbcb55
Issue #14373 : Fixed threaded test for lru_cache(). Added new threaded test.
2015-06-08 11:15:36 +03:00
Serhiy Storchaka
77cb197aaa
Issue #14373 : Fixed threaded test for lru_cache(). Added new threaded test.
2015-06-08 11:14:31 +03:00
Guido van Rossum
79e434d9e5
Mapping key type is invariant.
2015-06-07 13:36:19 -07:00
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
Yury Selivanov
38bc0a7f97
Issue 24316: Wrap gen objects returned from callables in types.coroutine
...
(Merge 3.5)
2015-05-29 16:19:34 -04:00
Yury Selivanov
13f7723d81
Issue 24316: Wrap gen objects returned from callables in types.coroutine
2015-05-29 16:19:18 -04:00
Yury Selivanov
7ad0419c4d
Issue 24316: Fix types.coroutine() to accept objects from Cython
...
(Merge 3.5)
2015-05-29 09:06:24 -04:00
Yury Selivanov
c565cd5d1b
Issue 24316: Fix types.coroutine() to accept objects from Cython
2015-05-29 09:06:05 -04:00
Yury Selivanov
a24fcfdf23
Issue 24315: Make collections.abc.Coroutine derived from Awaitable
...
(Merge 3.5)
2015-05-29 09:01:47 -04:00
Yury Selivanov
56fc614025
Issue 24315: Make collections.abc.Coroutine derived from Awaitable
2015-05-29 09:01:29 -04:00
Benjamin Peterson
2ec8f9bffc
merge 3.5 ( #11205 )
2015-05-28 14:31:14 -05:00
Benjamin Peterson
ee85339cc6
in dict displays, evaluate the key before the value ( closes #11205 )
...
Patch partially by Steve Dougherty.
2015-05-28 14:30:26 -05:00
Yury Selivanov
26f7057b36
Issue 24297: Add a unittest that Lib/symbol.py is in sync with Grammar
2015-05-28 14:06:12 -04:00
Yury Selivanov
72f389fed0
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods
2015-05-27 21:59:27 -04:00
Yury Selivanov
507cd3cf91
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods
2015-05-27 21:59:03 -04:00
Yury Selivanov
46c759d76d
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods
2015-05-27 21:56:53 -04:00
Lars Gustäbel
572183eaab
Merge with 3.5: tarfile.open() with mode 'x' created files without an end of archive marker.
2015-05-27 13:05:30 +02:00
Lars Gustäbel
20703c6969
tarfile.open() with mode 'x' created files without an end of archive marker.
2015-05-27 12:53:44 +02:00
Nick Coghlan
06f155f488
Merge fix for issue #24285 from 3.5
2015-05-26 21:57:16 +10:00
Nick Coghlan
55871f04bf
Issue #24285 : fix importing extensions from packages
2015-05-26 21:48:17 +10:00
Raymond Hettinger
c074e9d765
Issue #24286 : Forward port dict view abstract base class tests.
2015-05-26 01:47:58 -07:00
Victor Stinner
24d262af0b
(Merge 3.5) Issue #23840 : tokenize.open() now closes the temporary binary file
...
on error to fix a resource warning.
2015-05-26 00:46:44 +02:00
Victor Stinner
387729e183
Issue #23840 : tokenize.open() now closes the temporary binary file on error to
...
fix a resource warning.
2015-05-26 00:43:58 +02:00
Serhiy Storchaka
46c5611948
Backed out changeset: b0a0b9b59012
2015-05-24 21:53:49 +03:00
Larry Hastings
8252cc9832
Backed out changeset 57776eee74f2
2015-05-23 14:56:23 -07:00
Serhiy Storchaka
1c858c352b
Issue #14373 : Added C implementation of functools.lru_cache(). Based on
...
patches by Matt Joiner and Alexey Kachayev.
2015-05-23 22:42:49 +03:00
Steve Dower
fd3664be00
Issue #23970 : Adds distutils._msvccompiler for new Visual Studio versions.
2015-05-23 09:02:50 -07:00