Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Post-release fixes for Python 3.5.0b3. | Larry Hastings | 2015-07-05 | 1 | -0/+12 |
| | |||||
* | Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. | Ned Deily | 2015-07-04 | 1 | -1/+2 |
|\ | |||||
| * | Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. | Ned Deily | 2015-07-04 | 1 | -4/+2 |
| | | |||||
* | | Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. | Steve Dower | 2015-07-03 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. | Steve Dower | 2015-07-03 | 1 | -0/+2 |
| | | |||||
* | | Issue #24400: Resurrect inspect.isawaitable() | Yury Selivanov | 2015-07-03 | 1 | -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 documentation | Nick Coghlan | 2015-07-03 | 1 | -0/+3 |
| | | | | | | | | Patch by Petr Viktorin. | ||||
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -0/+2 |
| | | |||||
* | | Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines. | Yury Selivanov | 2015-07-03 | 1 | -0/+3 |
| | | | | | | | | Patch by Benno Leslie and Yury Selivanov. | ||||
* | | merge 3.4 (#24552) | Benjamin Peterson | 2015-07-02 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | fix use after free (closes #24552) | Benjamin Peterson | 2015-07-02 | 1 | -0/+2 |
| | | |||||
* | | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵ | Lars Gustäbel | 2015-07-02 | 1 | -0/+3 |
|\ \ | |/ | | | | | of only whitespace. | ||||
| * | Issue #24514: tarfile now tolerates number fields consisting of only whitespace. | Lars Gustäbel | 2015-07-02 | 1 | -0/+3 |
| | | |||||
* | | Note removal of inspect.isawaitable() in the NEWS file | Yury Selivanov | 2015-06-30 | 1 | -1/+2 |
| | | |||||
* | | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. | Serhiy Storchaka | 2015-06-29 | 1 | -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 Storchaka | 2015-06-29 | 1 | -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 bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -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 bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -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.4 | Jason R. Coombs | 2015-06-28 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #20387: Merge | Jason R. Coombs | 2015-06-28 | 1 | -0/+3 |
| |\ | |||||
| | * | Issue #20387: Merge patch and test | Jason R. Coombs | 2015-06-28 | 1 | -0/+3 |
| | |\ | |||||
| | | * | Issue #20387: Update Misc/NEWS | Jason R. Coombs | 2015-06-26 | 1 | -0/+3 |
| | | | | |||||
* | | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -0/+3 |
|\ \ \ \ | |/ / / | | | | | | | | | functions of the audioop module. | ||||
| * | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -0/+3 |
| |/ / | | | | | | | | | | functions of the audioop module. | ||||
* | | | Issue #24336: The contextmanager decorator now works with functions with | Serhiy Storchaka | 2015-06-28 | 1 | -1/+3 |
|\ \ \ | |/ / | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter. | ||||
| * | | Issue #24336: The contextmanager decorator now works with functions with | Serhiy Storchaka | 2015-06-28 | 1 | -0/+3 |
| | | | | | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter. | ||||
* | | | upgrade to Unicode 8.0.0 | Benjamin Peterson | 2015-06-27 | 1 | -0/+2 |
| | | | |||||
* | | | prevent integer overflow in escape_unicode (closes #24522) | Benjamin Peterson | 2015-06-27 | 1 | -0/+2 |
| | | | |||||
* | | | merge 3.4 | Benjamin Peterson | 2015-06-27 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 | Benjamin Peterson | 2015-06-27 | 1 | -1/+1 |
| |\ \ | |||||
| | * | | add issue number | Benjamin Peterson | 2015-06-27 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge 3.4 | Benjamin Peterson | 2015-06-27 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge 3.3 | Benjamin Peterson | 2015-06-27 | 1 | -0/+2 |
| |\ \ \ | | |/ / | |||||
| | * | | use safe allocation and reallocation macros | Benjamin Peterson | 2015-06-27 | 1 | -0/+2 |
| | | | | |||||
* | | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 1 | -0/+2 |
| | |/ | |/| | |||||
* | | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 1 | -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 of | Barry Warsaw | 2015-06-09 | 1 | -0/+6 |
|\ \ \ | |/ / | | | | | | | string.Template instances. | ||||
| * | | - Issue #24351: Clarify what is meant by "identifier" in the context of | Barry Warsaw | 2015-06-09 | 1 | -0/+3 |
| | | | | | | | | | | | | string.Template instances. | ||||
* | | | Issue #24408: Fixed AttributeError in measure() and metrics() methods of | Serhiy Storchaka | 2015-06-08 | 1 | -0/+3 |
| | | | | | | | | | | | | tkinter.Font. | ||||
* | | | Issue #14373: C implementation of functools.lru_cache() now can be used with | Serhiy Storchaka | 2015-06-08 | 1 | -0/+3 |
| | | | | | | | | | | | | methods. | ||||
* | | | Issue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam | Steve Dower | 2015-06-08 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #24373: Eliminate PEP 489 test refleaks | Nick Coghlan | 2015-06-04 | 1 | -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 Snow | 2015-06-04 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24377: Fix a ref leak in OrderedDict.__repr__. | Eric Snow | 2015-06-03 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24362: Simplify the C OrderedDict fast nodes resize logic. | Eric Snow | 2015-06-03 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24368: Support keyword arguments in OrderedDict methods. | Eric Snow | 2015-06-03 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24359: Check for changed OrderedDict size during iteration. | Eric Snow | 2015-06-02 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24348: Drop superfluous increfs/decrefs. | Eric Snow | 2015-06-02 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. | Eric Snow | 2015-06-02 | 1 | -0/+2 |
| | | |