.. bpo: 24467
.. date: 7896
.. 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: 7895
.. nonce: 944IUY
.. section: Core and Builtins

Upgrade to Unicode 8.0.0.

..

.. bpo: 24345
.. date: 7894
.. nonce: fVcTaB
.. section: Core and Builtins

Add Py_tp_finalize slot for the stable ABI.

..

.. bpo: 24400
.. date: 7893
.. 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: 7892
.. 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: 7891
.. nonce: 0kW4n5
.. section: Core and Builtins

Add new RecursionError exception. Patch by Georg Brandl.

..

.. bpo: 21750
.. date: 7890
.. 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: 7889
.. nonce: VTO6sf
.. section: Library

Fix use after free in an error case of the _pickle module.

..

.. bpo: 24514
.. date: 7888
.. nonce: _xRb2r
.. section: Library

tarfile now tolerates number fields consisting of only whitespace.

..

.. bpo: 19176
.. date: 7887
.. 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: 7886
.. nonce: aAbWbQ
.. section: Library

Restore semantic round-trip correctness in tokenize/untokenize for tab-
indented blocks.

..

.. bpo: 24456
.. date: 7885
.. nonce: yYSd2u
.. section: Library

Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
the audioop module.

..

.. bpo: 24336
.. date: 7884
.. 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: 7883
.. nonce: PkcqCA
.. section: Library

Fix possible integer overflow in json accelerator module.

..

.. bpo: 24489
.. date: 7882
.. nonce: GJnMcW
.. section: Library

ensure a previously set C errno doesn't disturb cmath.polar().

..

.. bpo: 24408
.. date: 7881
.. nonce: vPb5UK
.. section: Library

Fixed AttributeError in measure() and metrics() methods of tkinter.Font.

..

.. bpo: 14373
.. date: 7880
.. nonce: CTYZ4J
.. section: Library

C implementation of functools.lru_cache() now can be used with methods.

..

.. bpo: 24347
.. date: 7879
.. nonce: CPPDb8
.. section: Library

Set KeyError if PyDict_GetItemWithError returns NULL.

..

.. bpo: 24348
.. date: 7878
.. nonce: U11rhr
.. section: Library

Drop superfluous incref/decref.

..

.. bpo: 24359
.. date: 7877
.. nonce: -IRNG9
.. section: Library

Check for changed OrderedDict size during iteration.

..

.. bpo: 24368
.. date: 7876
.. nonce: 550kDT
.. section: Library

Support keyword arguments in OrderedDict methods.

..

.. bpo: 24362
.. date: 7875
.. nonce: cHYce5
.. section: Library

Simplify the C OrderedDict fast nodes resize logic.

..

.. bpo: 24377
.. date: 7874
.. nonce: Gp1Bqr
.. section: Library

Fix a ref leak in OrderedDict.__repr__.

..

.. bpo: 24369
.. date: 7873
.. nonce: qFl7lZ
.. section: Library

Defend against key-changes during iteration.

..

.. bpo: 24373
.. date: 7872
.. 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: 7871
.. nonce: 1egApX
.. section: Documentation

Update documentation to cover multi-phase initialization for extension
modules (PEP 489). Patch by Petr Viktorin.

..

.. bpo: 24351
.. date: 7870
.. nonce: XeSVl5
.. section: Documentation

Clarify what is meant by "identifier" in the context of string.Template
instances.

..

.. bpo: 24432
.. date: 7869
.. nonce: IvUSiN
.. section: Build

Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.
