summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Issue #24400: Resurrect inspect.isawaitable()Yury Selivanov2015-07-0310-39/+92
| | | | | | | | | | | | | | | | | | | | | | | | collections.abc.Awaitable and collections.abc.Coroutine no longer use __instancecheck__ hook to detect generator-based coroutines. inspect.isawaitable() can be used to detect generator-based coroutines and to distinguish them from regular generator objects.
* | | Close #24458: PEP 489 documentationNick Coghlan2015-07-037-98/+306
| | | | | | | | | | | | Patch by Petr Viktorin.
* | | Add a rudimentary test for StopAsyncIteration in test_exceptions.Yury Selivanov2015-07-031-0/+2
| | |
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-0331-69/+101
| | |
* | | Merge 3.4 (Issue #24450)Yury Selivanov2015-07-031-0/+8
|\ \ \ | |/ /
| * | Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapperYury Selivanov2015-07-031-0/+8
| | |
* | | Issue #24450: Proxy cr_await and gi_yieldfrom in @types.coroutineYury Selivanov2015-07-032-2/+9
| | |
* | | Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.Yury Selivanov2015-07-036-1/+101
| | | | | | | | | | | | Patch by Benno Leslie and Yury Selivanov.
* | | merge 3.4Benjamin Peterson2015-07-021-1/+1
|\ \ \ | |/ /
| * | use correct __new__ method (closes #24552)Benjamin Peterson2015-07-021-1/+1
| | |
* | | merge 3.4 (#24552)Benjamin Peterson2015-07-023-1/+15
|\ \ \ | |/ /
| * | fix use after free (closes #24552)Benjamin Peterson2015-07-023-1/+15
| | |
* | | Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent falseStefan Krah2015-07-022-9/+12
| | | | | | | | | | | | positives with the -flto option (gcc >= 4.9.0 and clang).
* | | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵Lars Gustäbel2015-07-023-1/+9
|\ \ \ | |/ / | | | | | | of only whitespace.
| * | Issue #24514: tarfile now tolerates number fields consisting of only whitespace.Lars Gustäbel2015-07-023-1/+9
| | |
* | | Merge 3.4Benjamin Peterson2015-07-021-1/+1
|\ \ \ | |/ /
| * | remove stray '(' (closes #24547)Benjamin Peterson2015-07-021-1/+1
| | |
* | | docs/conf: Undo changes in b2a3baa1c2b0; issue #24400Yury Selivanov2015-07-021-1/+1
| | |
* | | Issue #24400: Mention that __instancecheck__ is used in abc.Awaitable and ↵Yury Selivanov2015-07-012-1/+13
| | | | | | | | | | | | Coroutine
* | | Issue #24400: Add one more unittest for CoroutineType.__await__Yury Selivanov2015-07-011-0/+34
| | |
* | | merge in setuptools/pip updateDonald Stufft2015-07-013-2/+2
|\ \ \ | |/ /
| * | Update setuptools to 18.0.1 and pip to 7.1.0Donald Stufft2015-07-013-2/+2
| | |
* | | Issue #24487: Rename async() -> ensure_future() in asyncio docs.Yury Selivanov2015-07-014-13/+13
| | | | | | | | | | | | Patch by Martin Panter.
* | | Issue #24541: Drop test_inspect.test_eightteen unittest; update docsYury Selivanov2015-07-012-9/+1
| | | | | | | | | | | | Suggested by Martin Panter.
* | | Issue #24541: Update comment in test_inspect.test_eightteenYury Selivanov2015-07-011-1/+1
| | |
* | | Issue #24400: Fix failing unittestYury Selivanov2015-07-011-1/+1
| | |
* | | Note removal of inspect.isawaitable() in the NEWS fileYury Selivanov2015-06-301-1/+2
| | |
* | | Issue #24400: Remove inspect.isawaitable().Yury Selivanov2015-06-304-42/+2
| | | | | | | | | | | | | | | | | | 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).
* | | test_coroutines: remove whitespaceYury Selivanov2015-06-301-1/+1
| | |
* | | Issue #24528: Improve error message for awaits in comprehensionsYury Selivanov2015-06-302-1/+14
| | |
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-294-23/+101
|\ \ \ | |/ / | | | | | | | | | | | | | | | 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.
| * | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-293-14/+68
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearraySerhiy Storchaka2015-06-293-2/+25
|\ \ \ | |/ / | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated.
| * | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearraySerhiy Storchaka2015-06-293-2/+25
| | | | | | | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated.
* | | Issue #20387: Merge test and patch from 3.4.4Jason R. Coombs2015-06-283-1/+40
|\ \ \ | |/ /
| * | Issue #20387: MergeJason R. Coombs2015-06-283-1/+40
| |\ \
| | * \ Issue #20387: Merge patch and testJason R. Coombs2015-06-283-1/+40
| | |\ \
| | | * | Issue #20387: Update Misc/NEWSJason R. Coombs2015-06-261-0/+3
| | | | |
| | | * | Issue #20387: Restore retention of indentation during untokenize.Dingyuan Wang2015-06-221-0/+17
| | | | |
| | | * | Issue #20387: Correct test to properly capture expectation.Jason R. Coombs2015-06-261-2/+2
| | | | |
| | | * | Issue #20387: Add test capturing failure to roundtrip indented code in ↵Jason R. Coombs2015-06-201-0/+17
| | | | | | | | | | | | | | | | | | | | tokenize module.
| | | * | Remove unused import and remove doctest-only import into doctests.Jason R. Coombs2015-06-201-1/+3
| | | | |
* | | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-283-13/+39
|\ \ \ \ \ | |/ / / / | | | | | | | | | | functions of the audioop module.
| * | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-283-13/+39
| |/ / / | | | | | | | | | | | | functions of the audioop module.
* | | | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-284-7/+17
|\ \ \ \ | |/ / / | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter.
| * | | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-284-6/+17
| | | | | | | | | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter.
* | | | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-2711-22655/+25078
| | | |
* | | | prevent integer overflow in escape_unicode (closes #24522)Benjamin Peterson2015-06-272-3/+11
| | | |
* | | | merge 3.4Benjamin Peterson2015-06-271-1/+1
|\ \ \ \ | |/ / /
| * | | merge 3.3Benjamin Peterson2015-06-271-1/+1
| |\ \ \ | | | |/ | | |/|