3.5.0b3.rst 4.87 KB
Newer Older
1
.. bpo: 24467
2
.. date: 9236
3 4 5 6 7 8 9 10 11 12 13
.. 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
14
.. date: 9235
15 16 17 18 19 20 21 22
.. nonce: 944IUY
.. section: Core and Builtins

Upgrade to Unicode 8.0.0.

..

.. bpo: 24345
23
.. date: 9234
24 25 26 27 28 29 30 31
.. nonce: fVcTaB
.. section: Core and Builtins

Add Py_tp_finalize slot for the stable ABI.

..

.. bpo: 24400
32
.. date: 9233
33 34 35
.. nonce: 2mNeD8
.. section: Core and Builtins

36
Introduce a distinct type for :pep:`492` coroutines; add types.CoroutineType,
37 38 39 40 41 42 43 44 45 46 47 48
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
49
.. date: 9232
50 51 52 53 54 55 56 57 58
.. 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
59
.. date: 9231
60 61 62 63 64 65 66 67
.. nonce: 0kW4n5
.. section: Core and Builtins

Add new RecursionError exception. Patch by Georg Brandl.

..

.. bpo: 21750
68
.. date: 9230
69 70 71 72 73 74 75 76 77
.. nonce: _Ycvgi
.. section: Library

mock_open.read_data can now be read from each instance, as it could in
Python 3.3.

..

.. bpo: 24552
78
.. date: 9229
79 80 81 82 83 84 85 86
.. nonce: VTO6sf
.. section: Library

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

..

.. bpo: 24514
87
.. date: 9228
88 89 90 91 92 93 94 95
.. nonce: _xRb2r
.. section: Library

tarfile now tolerates number fields consisting of only whitespace.

..

.. bpo: 19176
96
.. date: 9227
97 98 99 100 101 102 103 104 105 106 107 108
.. 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
109
.. date: 9226
110 111 112
.. nonce: aAbWbQ
.. section: Library

113 114
Restore semantic round-trip correctness in tokenize/untokenize for
tab-indented blocks.
115 116 117 118

..

.. bpo: 24456
119
.. date: 9225
120 121 122 123 124 125 126 127 128
.. nonce: yYSd2u
.. section: Library

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

..

.. bpo: 24336
129
.. date: 9224
130 131 132 133 134 135 136 137 138
.. nonce: 4a5y1m
.. section: Library

The contextmanager decorator now works with functions with keyword arguments
called "func" and "self".  Patch by Martin Panter.

..

.. bpo: 24522
139
.. date: 9223
140 141 142 143 144 145 146 147
.. nonce: PkcqCA
.. section: Library

Fix possible integer overflow in json accelerator module.

..

.. bpo: 24489
148
.. date: 9222
149 150 151 152 153 154 155 156
.. nonce: GJnMcW
.. section: Library

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

..

.. bpo: 24408
157
.. date: 9221
158 159 160 161 162 163 164 165
.. nonce: vPb5UK
.. section: Library

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

..

.. bpo: 14373
166
.. date: 9220
167 168 169 170 171 172 173 174
.. nonce: CTYZ4J
.. section: Library

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

..

.. bpo: 24347
175
.. date: 9219
176 177 178 179 180 181 182 183
.. nonce: CPPDb8
.. section: Library

Set KeyError if PyDict_GetItemWithError returns NULL.

..

.. bpo: 24348
184
.. date: 9218
185 186 187 188 189 190 191 192
.. nonce: U11rhr
.. section: Library

Drop superfluous incref/decref.

..

.. bpo: 24359
193
.. date: 9217
194 195 196 197 198 199 200 201
.. nonce: -IRNG9
.. section: Library

Check for changed OrderedDict size during iteration.

..

.. bpo: 24368
202
.. date: 9216
203 204 205 206 207 208 209 210
.. nonce: 550kDT
.. section: Library

Support keyword arguments in OrderedDict methods.

..

.. bpo: 24362
211
.. date: 9215
212 213 214 215 216 217 218 219
.. nonce: cHYce5
.. section: Library

Simplify the C OrderedDict fast nodes resize logic.

..

.. bpo: 24377
220
.. date: 9214
221 222 223 224 225 226 227 228
.. nonce: Gp1Bqr
.. section: Library

Fix a ref leak in OrderedDict.__repr__.

..

.. bpo: 24369
229
.. date: 9213
230 231 232 233 234 235 236 237
.. nonce: qFl7lZ
.. section: Library

Defend against key-changes during iteration.

..

.. bpo: 24373
238
.. date: 9212
239 240 241 242 243 244 245 246 247 248
.. 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
249
.. date: 9211
250 251 252 253 254 255 256 257 258
.. nonce: 1egApX
.. section: Documentation

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

..

.. bpo: 24351
259
.. date: 9210
260 261 262 263 264 265 266 267 268
.. nonce: XeSVl5
.. section: Documentation

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

..

.. bpo: 24432
269
.. date: 9209
270 271 272 273
.. nonce: IvUSiN
.. section: Build

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