Terry Jan Reedy
8aad7f27a4
Merge with 3.4
2015-05-14 18:11:14 -04:00
Terry Jan Reedy
2733618fd9
idlelib: remove unused names and imports (one is a duplicate import).
2015-05-14 18:10:50 -04:00
Yury Selivanov
dee32bd256
Issue 24191: Document BoundArguments.signature
2015-05-14 14:14:18 -04:00
Yury Selivanov
82796193f9
Issue 24191: Document BoundArguments.signature
2015-05-14 14:14:02 -04:00
Yury Selivanov
e0104ae103
Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc.
2015-05-14 12:19:16 -04:00
R David Murray
7d0d6ee525
Merge: Make sentence correct English.
2015-05-14 08:51:09 -04:00
R David Murray
2249d9f7d6
Make sentence correct English.
2015-05-14 08:50:38 -04:00
Steve Dower
c8241cfb8c
Issue #24186 : Disable optimised OpenSSL functions on 64-bit Windows to avoid crashing.
2015-05-13 21:44:02 -07:00
Yury Selivanov
08e5300afc
collections.abc.tests: Remove some unnecessary code.
2015-05-13 23:57:59 -04:00
Yury Selivanov
aded55c6e3
collections.abc: Test that if an object is a Coroutine it is also an Awaitable
2015-05-13 23:41:55 -04:00
Steve Dower
71f574f707
Issue #23995 : Removes _WCONIO_DEFINED check as the wchar_t console functions are always available.
2015-05-13 19:35:49 -07:00
R David Murray
812bc1b86b
Merge: #23088 : Clarify null termination of bytes and strings in C API.
2015-05-13 20:32:19 -04:00
R David Murray
0a560a11af
#23088 : Clarify null termination of bytes and strings in C API.
...
Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.
2015-05-13 20:31:53 -04:00
Raymond Hettinger
b01a1fdb94
merge
2015-05-13 14:39:35 -07:00
Raymond Hettinger
3afdb2870f
Fix mangled wording
2015-05-13 14:39:04 -07:00
Yury Selivanov
6abe03288b
inspect: Add __slots__ to BoundArguments.
2015-05-13 17:18:41 -04:00
Yury Selivanov
9113dc7c97
Issue 24017: More tests for 'async for' and 'async with'.
2015-05-13 16:49:35 -04:00
Yury Selivanov
c41632a856
asyncio/tests: Drop unused import.
2015-05-13 15:37:48 -04:00
Yury Selivanov
6c792bd65a
asyncio: Add a test for asyncio.iscoroutine().
...
Test that asyncio.iscoroutine() supports 'async def' coroutines and
collections.abc.Coroutine types.
2015-05-13 15:34:12 -04:00
Yury Selivanov
af928b65fc
asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine.
2015-05-13 15:22:03 -04:00
Yury Selivanov
c58cca5951
asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5)
2015-05-13 15:21:41 -04:00
Yury Selivanov
53ffdbd6f0
Merge 3.4.
2015-05-13 15:16:18 -04:00
Yury Selivanov
d08c363c26
Sync asyncio code from default branch.
2015-05-13 15:15:56 -04:00
Yury Selivanov
33c6b569b7
Issue 24179: Support 'async for' for asyncio.StreamReader.
2015-05-13 14:23:29 -04:00
Raymond Hettinger
d4be691494
Issue #24064 : Help property() support GC
2015-05-13 11:12:33 -07:00
Yury Selivanov
29f88c22e6
Issue 24178: support 'async with' for asyncio locks.
2015-05-13 14:10:38 -04:00
Zachary Ware
77772c0e7b
Issue #20172 : Update clinicizations to current clinic.
2015-05-13 10:58:35 -05:00
Benjamin Peterson
14ef1a12c7
remove extra space
2015-05-13 11:19:27 -04:00
Benjamin Peterson
5562c90377
remove % from title, since it makes latex barf
2015-05-13 11:19:06 -04:00
Serhiy Storchaka
dce0405f03
Issue #23488 : Random generator objects now consume 2x less memory on 64-bit.
2015-05-13 15:02:12 +03:00
Berker Peksag
50c72d2778
Issue #22064 : Improve the misleading message from 2to3 when skipping optional fixers.
...
Patch by Vinod Kurup.
2015-05-13 13:40:12 +03:00
Berker Peksag
3a81f9ba46
Issue #22064 : Improve the misleading message from 2to3 when skipping optional fixers.
...
Patch by Vinod Kurup.
2015-05-13 13:39:51 +03:00
Raymond Hettinger
46cf02d25a
merge
2015-05-13 02:48:21 -07:00
Raymond Hettinger
a3780259e4
Issue #19934 : Document *None* as an acceptable input to Counter.most_common([n])
2015-05-13 02:47:57 -07:00
Raymond Hettinger
0907a45eb1
Issue #23695 : Explain the zip() example for clustering a data series into n-length groups.
2015-05-13 02:34:38 -07:00
Berker Peksag
2f3742b0d8
Issue #1322 : platform.dist() and platform.linux_distribution() functions are now deprecated.
...
Initial patch by Vajrasky Kok.
2015-05-13 12:32:20 +03:00
Berker Peksag
de7cafaa63
Issue #24064 : Add __doc__ to the example in collections.rst.
2015-05-13 12:16:27 +03:00
Raymond Hettinger
5af9e13c18
Minor stylistic and consistency cleanup.
2015-05-13 01:44:36 -07:00
Raymond Hettinger
1bd8d75be3
Issue #23290 : Optimize set_merge() for cases where the target is empty.
...
(Contributed by Serhiy Storchaka.)
2015-05-13 01:26:14 -07:00
Raymond Hettinger
eac503aeac
Issue #24064 : Property() docstrings are now writeable.
...
(Patch by Berker Peksag.)
2015-05-13 01:09:59 -07:00
Zachary Ware
f2244eaf9e
Issue #20172 : Convert the _winapi module to Argument Clinic.
2015-05-13 01:22:54 -05:00
Zachary Ware
4552089617
Issue #20172 : Convert the msvcrt module to Argument Clinic.
2015-05-13 01:22:32 -05:00
Zachary Ware
fd2d482272
Issue #20172 : Convert the winreg module to Argument Clinic.
2015-05-13 01:21:57 -05:00
Zachary Ware
73f8cfb040
Issue #20172 : Convert the winsound module to Argument Clinic.
2015-05-13 01:21:21 -05:00
Zachary Ware
37ac590f7c
Clean up test_coroutines a bit.
...
No more test_main(), s/assertEquals/assertEqual/, and remove unused import.
2015-05-13 01:03:06 -05:00
Nick Coghlan
baaadbf70d
Issue 24017: fix for "async with" refcounting
...
* adds missing INCREF in WITH_CLEANUP_START
* adds missing DECREF in WITH_CLEANUP_FINISH
* adds several new tests Yury created while investigating this
2015-05-13 15:54:02 +10:00
Zachary Ware
84d3e764d7
Issue #23911 : Fix ctypes test on Windows.
...
Comparing equality of list and tuple is always False.
2015-05-13 00:34:39 -05:00
Zachary Ware
d9b25bb511
Issue #23731 : Fix tracemalloc test on Windows.
...
'a.pyo' can no longer match 'a.py', so 'a.PYO' can't either.
2015-05-13 00:27:01 -05:00
Zachary Ware
ad3e27ae4c
Issue #23193 : Skip numeric_owner tests on platforms where they don't make sense
...
In particular, the tests bomb out on Windows. The feature is a no-op on platforms
without the pwd module or os.geteuid anyway.
2015-05-12 23:57:21 -05:00
Raymond Hettinger
849564f874
Extend test coverage to include heapifying large heaps
2015-05-12 21:42:40 -07:00