1.. bpo: 24467 2.. date: 9236 3.. nonce: BAJ80- 4.. release date: 2015-07-05 5.. section: Core and Builtins 6 7Fixed possible buffer over-read in bytearray. The bytearray object now 8always allocates place for trailing null byte and it's buffer now is always 9null-terminated. 10 11.. 12 13.. bpo: 0 14.. date: 9235 15.. nonce: 944IUY 16.. section: Core and Builtins 17 18Upgrade to Unicode 8.0.0. 19 20.. 21 22.. bpo: 24345 23.. date: 9234 24.. nonce: fVcTaB 25.. section: Core and Builtins 26 27Add Py_tp_finalize slot for the stable ABI. 28 29.. 30 31.. bpo: 24400 32.. date: 9233 33.. nonce: 2mNeD8 34.. section: Core and Builtins 35 36Introduce a distinct type for :pep:`492` coroutines; add types.CoroutineType, 37inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer 38use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def' 39coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine, 40it's intended to test for pure 'async def' coroutines only; add new opcode: 41GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be 42instance of collections.abc.Generator; collections.abc.Awaitable and 43collections.abc.Coroutine can no longer be used to detect generator-based 44coroutines--use inspect.isawaitable instead. 45 46.. 47 48.. bpo: 24450 49.. date: 9232 50.. nonce: lF0S5c 51.. section: Core and Builtins 52 53Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by 54Benno Leslie and Yury Selivanov. 55 56.. 57 58.. bpo: 19235 59.. date: 9231 60.. nonce: 0kW4n5 61.. section: Core and Builtins 62 63Add new RecursionError exception. Patch by Georg Brandl. 64 65.. 66 67.. bpo: 21750 68.. date: 9230 69.. nonce: _Ycvgi 70.. section: Library 71 72mock_open.read_data can now be read from each instance, as it could in 73Python 3.3. 74 75.. 76 77.. bpo: 24552 78.. date: 9229 79.. nonce: VTO6sf 80.. section: Library 81 82Fix use after free in an error case of the _pickle module. 83 84.. 85 86.. bpo: 24514 87.. date: 9228 88.. nonce: _xRb2r 89.. section: Library 90 91tarfile now tolerates number fields consisting of only whitespace. 92 93.. 94 95.. bpo: 19176 96.. date: 9227 97.. nonce: 8V6nOK 98.. section: Library 99 100Fixed doctype() related bugs in C implementation of ElementTree. A 101deprecation warning no longer issued by XMLParser subclass with default 102doctype() method. Direct call of doctype() now issues a warning. Parser's 103doctype() now is not called if target's doctype() is called. Based on patch 104by Martin Panter. 105 106.. 107 108.. bpo: 20387 109.. date: 9226 110.. nonce: aAbWbQ 111.. section: Library 112 113Restore semantic round-trip correctness in tokenize/untokenize for 114tab-indented blocks. 115 116.. 117 118.. bpo: 24456 119.. date: 9225 120.. nonce: yYSd2u 121.. section: Library 122 123Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of 124the audioop module. 125 126.. 127 128.. bpo: 24336 129.. date: 9224 130.. nonce: 4a5y1m 131.. section: Library 132 133The contextmanager decorator now works with functions with keyword arguments 134called "func" and "self". Patch by Martin Panter. 135 136.. 137 138.. bpo: 24522 139.. date: 9223 140.. nonce: PkcqCA 141.. section: Library 142 143Fix possible integer overflow in json accelerator module. 144 145.. 146 147.. bpo: 24489 148.. date: 9222 149.. nonce: GJnMcW 150.. section: Library 151 152ensure a previously set C errno doesn't disturb cmath.polar(). 153 154.. 155 156.. bpo: 24408 157.. date: 9221 158.. nonce: vPb5UK 159.. section: Library 160 161Fixed AttributeError in measure() and metrics() methods of tkinter.Font. 162 163.. 164 165.. bpo: 14373 166.. date: 9220 167.. nonce: CTYZ4J 168.. section: Library 169 170C implementation of functools.lru_cache() now can be used with methods. 171 172.. 173 174.. bpo: 24347 175.. date: 9219 176.. nonce: CPPDb8 177.. section: Library 178 179Set KeyError if PyDict_GetItemWithError returns NULL. 180 181.. 182 183.. bpo: 24348 184.. date: 9218 185.. nonce: U11rhr 186.. section: Library 187 188Drop superfluous incref/decref. 189 190.. 191 192.. bpo: 24359 193.. date: 9217 194.. nonce: -IRNG9 195.. section: Library 196 197Check for changed OrderedDict size during iteration. 198 199.. 200 201.. bpo: 24368 202.. date: 9216 203.. nonce: 550kDT 204.. section: Library 205 206Support keyword arguments in OrderedDict methods. 207 208.. 209 210.. bpo: 24362 211.. date: 9215 212.. nonce: cHYce5 213.. section: Library 214 215Simplify the C OrderedDict fast nodes resize logic. 216 217.. 218 219.. bpo: 24377 220.. date: 9214 221.. nonce: Gp1Bqr 222.. section: Library 223 224Fix a ref leak in OrderedDict.__repr__. 225 226.. 227 228.. bpo: 24369 229.. date: 9213 230.. nonce: qFl7lZ 231.. section: Library 232 233Defend against key-changes during iteration. 234 235.. 236 237.. bpo: 24373 238.. date: 9212 239.. nonce: 6TL2XG 240.. section: Tests 241 242_testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid 243reference leaks encountered when combining tp_dealloc with PyType_FromSpec 244(see issue #16690 for details) 245 246.. 247 248.. bpo: 24458 249.. date: 9211 250.. nonce: 1egApX 251.. section: Documentation 252 253Update documentation to cover multi-phase initialization for extension 254modules (PEP 489). Patch by Petr Viktorin. 255 256.. 257 258.. bpo: 24351 259.. date: 9210 260.. nonce: XeSVl5 261.. section: Documentation 262 263Clarify what is meant by "identifier" in the context of string.Template 264instances. 265 266.. 267 268.. bpo: 24432 269.. date: 9209 270.. nonce: IvUSiN 271.. section: Build 272 273Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c. 274