summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Post-release fixes for Python 3.5.0b3.Larry Hastings2015-07-051-0/+12
|
* Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.Ned Deily2015-07-041-1/+2
|\
| * Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.Ned Deily2015-07-041-4/+2
| |
* | Issue #24432: Update Windows builds to use OpenSSL 1.0.2c.Steve Dower2015-07-031-0/+5
|\ \ | |/
| * Issue #24432: Update Windows builds to use OpenSSL 1.0.2c.Steve Dower2015-07-031-0/+2
| |
* | Issue #24400: Resurrect inspect.isawaitable()Yury Selivanov2015-07-031-1/+3
| | | | | | | | | | | | | | | | 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-031-0/+3
| | | | | | | | Patch by Petr Viktorin.
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-0/+2
| |
* | Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.Yury Selivanov2015-07-031-0/+3
| | | | | | | | Patch by Benno Leslie and Yury Selivanov.
* | merge 3.4 (#24552)Benjamin Peterson2015-07-021-0/+2
|\ \ | |/
| * fix use after free (closes #24552)Benjamin Peterson2015-07-021-0/+2
| |
* | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵Lars Gustäbel2015-07-021-0/+3
|\ \ | |/ | | | | of only whitespace.
| * Issue #24514: tarfile now tolerates number fields consisting of only whitespace.Lars Gustäbel2015-07-021-0/+3
| |
* | Note removal of inspect.isawaitable() in the NEWS fileYury Selivanov2015-06-301-1/+2
| |
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-291-0/+6
|\ \ | |/ | | | | | | | | | | 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-291-0/+6
| | | | | | | | | | | | | | 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-291-0/+4
|\ \ | |/ | | | | | | 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-291-0/+4
| | | | | | | | | | 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-281-0/+3
|\ \ | |/
| * Issue #20387: MergeJason R. Coombs2015-06-281-0/+3
| |\
| | * Issue #20387: Merge patch and testJason R. Coombs2015-06-281-0/+3
| | |\
| | | * Issue #20387: Update Misc/NEWSJason R. Coombs2015-06-261-0/+3
| | | |
* | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-0/+3
|\ \ \ \ | |/ / / | | | | | | | | functions of the audioop module.
| * | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-0/+3
| |/ / | | | | | | | | | functions of the audioop module.
* | | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-1/+3
|\ \ \ | |/ / | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter.
| * | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-0/+3
| | | | | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter.
* | | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-271-0/+2
| | |
* | | prevent integer overflow in escape_unicode (closes #24522)Benjamin Peterson2015-06-271-0/+2
| | |
* | | merge 3.4Benjamin Peterson2015-06-271-1/+1
|\ \ \ | |/ /
| * | merge 3.3Benjamin Peterson2015-06-271-1/+1
| |\ \
| | * | add issue numberBenjamin Peterson2015-06-271-1/+1
| | | |
* | | | merge 3.4Benjamin Peterson2015-06-271-0/+2
|\ \ \ \ | |/ / /
| * | | merge 3.3Benjamin Peterson2015-06-271-0/+2
| |\ \ \ | | |/ /
| | * | use safe allocation and reallocation macrosBenjamin Peterson2015-06-271-0/+2
| | | |
* | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-231-0/+2
|\ \ \ \ | |/ / /
| * | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-231-0/+2
| | |/ | |/|
* | | Issue #24400: Introduce a distinct type for 'async def' coroutines.Yury Selivanov2015-06-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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")
* | | - Issue #24351: Clarify what is meant by "identifier" in the context ofBarry Warsaw2015-06-091-0/+6
|\ \ \ | |/ / | | | | | | string.Template instances.
| * | - Issue #24351: Clarify what is meant by "identifier" in the context ofBarry Warsaw2015-06-091-0/+3
| | | | | | | | | | | | string.Template instances.
* | | Issue #24408: Fixed AttributeError in measure() and metrics() methods ofSerhiy Storchaka2015-06-081-0/+3
| | | | | | | | | | | | tkinter.Font.
* | | Issue #14373: C implementation of functools.lru_cache() now can be used withSerhiy Storchaka2015-06-081-0/+3
| | | | | | | | | | | | methods.
* | | Issue #8232: webbrowser support incomplete on Windows. Patch by Brandon MilamSteve Dower2015-06-081-0/+3
| | |
* | | Issue #24373: Eliminate PEP 489 test refleaksNick Coghlan2015-06-041-0/+7
| | | | | | | | | | | | | | | | | | | | | _testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid reference leaks encountered when combining tp_dealloc with PyType_FromSpec (see issue #16690 for details)
* | | Issue #24369: Defend against key-changes during iteration.Eric Snow2015-06-041-0/+2
| | |
* | | Issue #24377: Fix a ref leak in OrderedDict.__repr__.Eric Snow2015-06-031-0/+2
| | |
* | | Issue #24362: Simplify the C OrderedDict fast nodes resize logic.Eric Snow2015-06-031-0/+2
| | |
* | | Issue #24368: Support keyword arguments in OrderedDict methods.Eric Snow2015-06-031-0/+2
| | |
* | | Issue #24359: Check for changed OrderedDict size during iteration.Eric Snow2015-06-021-0/+2
| | |
* | | Issue #24348: Drop superfluous increfs/decrefs.Eric Snow2015-06-021-0/+2
| | |
* | | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.Eric Snow2015-06-021-0/+2
| | |