274 lines
4.9 KiB
ReStructuredText
274 lines
4.9 KiB
ReStructuredText
.. bpo: 24467
|
|
.. date: 8196
|
|
.. nonce: BAJ80-
|
|
.. release date: 2015-07-05
|
|
.. section: Core and Builtins
|
|
|
|
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.
|
|
|
|
..
|
|
|
|
.. bpo: 0
|
|
.. date: 8195
|
|
.. nonce: 944IUY
|
|
.. section: Core and Builtins
|
|
|
|
Upgrade to Unicode 8.0.0.
|
|
|
|
..
|
|
|
|
.. bpo: 24345
|
|
.. date: 8194
|
|
.. nonce: fVcTaB
|
|
.. section: Core and Builtins
|
|
|
|
Add Py_tp_finalize slot for the stable ABI.
|
|
|
|
..
|
|
|
|
.. bpo: 24400
|
|
.. date: 8193
|
|
.. nonce: 2mNeD8
|
|
.. section: Core and Builtins
|
|
|
|
Introduce a distinct type for PEP 492 coroutines; add types.CoroutineType,
|
|
inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer
|
|
use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
|
|
coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine,
|
|
it's intended to test for pure 'async def' coroutines only; add new opcode:
|
|
GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be
|
|
instance of collections.abc.Generator; collections.abc.Awaitable and
|
|
collections.abc.Coroutine can no longer be used to detect generator-based
|
|
coroutines--use inspect.isawaitable instead.
|
|
|
|
..
|
|
|
|
.. bpo: 24450
|
|
.. date: 8192
|
|
.. nonce: lF0S5c
|
|
.. section: Core and Builtins
|
|
|
|
Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
|
|
Benno Leslie and Yury Selivanov.
|
|
|
|
..
|
|
|
|
.. bpo: 19235
|
|
.. date: 8191
|
|
.. nonce: 0kW4n5
|
|
.. section: Core and Builtins
|
|
|
|
Add new RecursionError exception. Patch by Georg Brandl.
|
|
|
|
..
|
|
|
|
.. bpo: 21750
|
|
.. date: 8190
|
|
.. nonce: _Ycvgi
|
|
.. section: Library
|
|
|
|
mock_open.read_data can now be read from each instance, as it could in
|
|
Python 3.3.
|
|
|
|
..
|
|
|
|
.. bpo: 24552
|
|
.. date: 8189
|
|
.. nonce: VTO6sf
|
|
.. section: Library
|
|
|
|
Fix use after free in an error case of the _pickle module.
|
|
|
|
..
|
|
|
|
.. bpo: 24514
|
|
.. date: 8188
|
|
.. nonce: _xRb2r
|
|
.. section: Library
|
|
|
|
tarfile now tolerates number fields consisting of only whitespace.
|
|
|
|
..
|
|
|
|
.. bpo: 19176
|
|
.. date: 8187
|
|
.. nonce: 8V6nOK
|
|
.. section: Library
|
|
|
|
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.
|
|
|
|
..
|
|
|
|
.. bpo: 20387
|
|
.. date: 8186
|
|
.. nonce: aAbWbQ
|
|
.. section: Library
|
|
|
|
Restore semantic round-trip correctness in tokenize/untokenize for tab-
|
|
indented blocks.
|
|
|
|
..
|
|
|
|
.. bpo: 24456
|
|
.. date: 8185
|
|
.. nonce: yYSd2u
|
|
.. section: Library
|
|
|
|
Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
|
|
the audioop module.
|
|
|
|
..
|
|
|
|
.. bpo: 24336
|
|
.. date: 8184
|
|
.. nonce: 4a5y1m
|
|
.. section: Library
|
|
|
|
The contextmanager decorator now works with functions with keyword arguments
|
|
called "func" and "self". Patch by Martin Panter.
|
|
|
|
..
|
|
|
|
.. bpo: 24522
|
|
.. date: 8183
|
|
.. nonce: PkcqCA
|
|
.. section: Library
|
|
|
|
Fix possible integer overflow in json accelerator module.
|
|
|
|
..
|
|
|
|
.. bpo: 24489
|
|
.. date: 8182
|
|
.. nonce: GJnMcW
|
|
.. section: Library
|
|
|
|
ensure a previously set C errno doesn't disturb cmath.polar().
|
|
|
|
..
|
|
|
|
.. bpo: 24408
|
|
.. date: 8181
|
|
.. nonce: vPb5UK
|
|
.. section: Library
|
|
|
|
Fixed AttributeError in measure() and metrics() methods of tkinter.Font.
|
|
|
|
..
|
|
|
|
.. bpo: 14373
|
|
.. date: 8180
|
|
.. nonce: CTYZ4J
|
|
.. section: Library
|
|
|
|
C implementation of functools.lru_cache() now can be used with methods.
|
|
|
|
..
|
|
|
|
.. bpo: 24347
|
|
.. date: 8179
|
|
.. nonce: CPPDb8
|
|
.. section: Library
|
|
|
|
Set KeyError if PyDict_GetItemWithError returns NULL.
|
|
|
|
..
|
|
|
|
.. bpo: 24348
|
|
.. date: 8178
|
|
.. nonce: U11rhr
|
|
.. section: Library
|
|
|
|
Drop superfluous incref/decref.
|
|
|
|
..
|
|
|
|
.. bpo: 24359
|
|
.. date: 8177
|
|
.. nonce: -IRNG9
|
|
.. section: Library
|
|
|
|
Check for changed OrderedDict size during iteration.
|
|
|
|
..
|
|
|
|
.. bpo: 24368
|
|
.. date: 8176
|
|
.. nonce: 550kDT
|
|
.. section: Library
|
|
|
|
Support keyword arguments in OrderedDict methods.
|
|
|
|
..
|
|
|
|
.. bpo: 24362
|
|
.. date: 8175
|
|
.. nonce: cHYce5
|
|
.. section: Library
|
|
|
|
Simplify the C OrderedDict fast nodes resize logic.
|
|
|
|
..
|
|
|
|
.. bpo: 24377
|
|
.. date: 8174
|
|
.. nonce: Gp1Bqr
|
|
.. section: Library
|
|
|
|
Fix a ref leak in OrderedDict.__repr__.
|
|
|
|
..
|
|
|
|
.. bpo: 24369
|
|
.. date: 8173
|
|
.. nonce: qFl7lZ
|
|
.. section: Library
|
|
|
|
Defend against key-changes during iteration.
|
|
|
|
..
|
|
|
|
.. bpo: 24373
|
|
.. date: 8172
|
|
.. nonce: 6TL2XG
|
|
.. section: Tests
|
|
|
|
_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)
|
|
|
|
..
|
|
|
|
.. bpo: 24458
|
|
.. date: 8171
|
|
.. nonce: 1egApX
|
|
.. section: Documentation
|
|
|
|
Update documentation to cover multi-phase initialization for extension
|
|
modules (PEP 489). Patch by Petr Viktorin.
|
|
|
|
..
|
|
|
|
.. bpo: 24351
|
|
.. date: 8170
|
|
.. nonce: XeSVl5
|
|
.. section: Documentation
|
|
|
|
Clarify what is meant by "identifier" in the context of string.Template
|
|
instances.
|
|
|
|
..
|
|
|
|
.. bpo: 24432
|
|
.. date: 8169
|
|
.. nonce: IvUSiN
|
|
.. section: Build
|
|
|
|
Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.
|