larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1 | .. bpo: 20041 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2 | .. date: 9253 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3 | .. nonce: TypyGp |
| 4 | .. release date: 2016-05-16 |
| 5 | .. section: Core and Builtins |
| 6 | |
| 7 | Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye. |
| 8 | |
| 9 | .. |
| 10 | |
| 11 | .. bpo: 26168 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 12 | .. date: 9252 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 13 | .. nonce: -nPBL6 |
| 14 | .. section: Core and Builtins |
| 15 | |
| 16 | Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit. |
| 17 | |
| 18 | .. |
| 19 | |
| 20 | .. bpo: 26991 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 21 | .. date: 9251 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 22 | .. nonce: yWGNhz |
| 23 | .. section: Core and Builtins |
| 24 | |
| 25 | Fix possible refleak when creating a function with annotations. |
| 26 | |
| 27 | .. |
| 28 | |
| 29 | .. bpo: 27039 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 30 | .. date: 9250 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 31 | .. nonce: oO-wLV |
| 32 | .. section: Core and Builtins |
| 33 | |
| 34 | Fixed bytearray.remove() for values greater than 127. Based on patch by Joe |
| 35 | Jevnik. |
| 36 | |
| 37 | .. |
| 38 | |
| 39 | .. bpo: 23640 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 40 | .. date: 9249 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 41 | .. nonce: kvNC4c |
| 42 | .. section: Core and Builtins |
| 43 | |
| 44 | int.from_bytes() no longer bypasses constructors for subclasses. |
| 45 | |
| 46 | .. |
| 47 | |
| 48 | .. bpo: 27005 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 49 | .. date: 9248 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 50 | .. nonce: ZtcJf- |
| 51 | .. section: Core and Builtins |
| 52 | |
| 53 | Optimized the float.fromhex() class method for exact float. It is now 2 |
| 54 | times faster. |
| 55 | |
| 56 | .. |
| 57 | |
| 58 | .. bpo: 18531 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 59 | .. date: 9247 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 60 | .. nonce: PkXgtO |
| 61 | .. section: Core and Builtins |
| 62 | |
| 63 | Single var-keyword argument of dict subtype was passed unscathed to the |
| 64 | C-defined function. Now it is converted to exact dict. |
| 65 | |
| 66 | .. |
| 67 | |
| 68 | .. bpo: 26811 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 69 | .. date: 9246 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 70 | .. nonce: oNzUWt |
| 71 | .. section: Core and Builtins |
| 72 | |
| 73 | gc.get_objects() no longer contains a broken tuple with NULL pointer. |
| 74 | |
| 75 | .. |
| 76 | |
| 77 | .. bpo: 20120 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 78 | .. date: 9245 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 79 | .. nonce: c-FZZc |
| 80 | .. section: Core and Builtins |
| 81 | |
| 82 | Use RawConfigParser for .pypirc parsing, removing support for interpolation |
| 83 | unintentionally added with move to Python 3. Behavior no longer does any |
| 84 | interpolation in .pypirc files, matching behavior in Python 2.7 and |
| 85 | Setuptools 19.0. |
| 86 | |
| 87 | .. |
| 88 | |
| 89 | .. bpo: 26249 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 90 | .. date: 9244 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 91 | .. nonce: ZbpWF3 |
| 92 | .. section: Core and Builtins |
| 93 | |
| 94 | Memory functions of the :c:func:`PyMem_Malloc` domain |
| 95 | (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator |
| 96 | <pymalloc>` rather than system :c:func:`malloc`. Applications calling |
| 97 | :c:func:`PyMem_Malloc` without holding the GIL can now crash: use |
| 98 | ``PYTHONMALLOC=debug`` environment variable to validate the usage of memory |
| 99 | allocators in your application. |
| 100 | |
| 101 | .. |
| 102 | |
| 103 | .. bpo: 26802 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 104 | .. date: 9243 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 105 | .. nonce: hWpU4v |
| 106 | .. section: Core and Builtins |
| 107 | |
| 108 | Optimize function calls only using unpacking like ``func(*tuple)`` (no other |
| 109 | positional argument, no keyword): avoid copying the tuple. Patch written by |
| 110 | Joe Jevnik. |
| 111 | |
| 112 | .. |
| 113 | |
| 114 | .. bpo: 26659 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 115 | .. date: 9242 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 116 | .. nonce: 5PRa83 |
| 117 | .. section: Core and Builtins |
| 118 | |
| 119 | Make the builtin slice type support cycle collection. |
| 120 | |
| 121 | .. |
| 122 | |
| 123 | .. bpo: 26718 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 124 | .. date: 9241 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 125 | .. nonce: K5PQ8j |
| 126 | .. section: Core and Builtins |
| 127 | |
| 128 | super.__init__ no longer leaks memory if called multiple times. NOTE: A |
| 129 | direct call of super.__init__ is not endorsed! |
| 130 | |
| 131 | .. |
| 132 | |
| 133 | .. bpo: 27138 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 134 | .. date: 9240 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 135 | .. nonce: ifYEro |
| 136 | .. section: Core and Builtins |
| 137 | |
| 138 | Fix the doc comment for FileFinder.find_spec(). |
| 139 | |
| 140 | .. |
| 141 | |
| 142 | .. bpo: 27147 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 143 | .. date: 9239 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 144 | .. nonce: tCCgmH |
| 145 | .. section: Core and Builtins |
| 146 | |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 147 | Mention :pep:`420` in the importlib docs. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 148 | |
| 149 | .. |
| 150 | |
| 151 | .. bpo: 25339 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 152 | .. date: 9238 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 153 | .. nonce: ZcaC2E |
| 154 | .. section: Core and Builtins |
| 155 | |
| 156 | PYTHONIOENCODING now has priority over locale in setting the error handler |
| 157 | for stdin and stdout. |
| 158 | |
| 159 | .. |
| 160 | |
| 161 | .. bpo: 26494 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 162 | .. date: 9237 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 163 | .. nonce: G6eXIi |
| 164 | .. section: Core and Builtins |
| 165 | |
| 166 | Fixed crash on iterating exhausting iterators. Affected classes are generic |
| 167 | sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, |
| 168 | frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. |
| 169 | |
| 170 | .. |
| 171 | |
| 172 | .. bpo: 26574 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 173 | .. date: 9236 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 174 | .. nonce: D2YL_w |
| 175 | .. section: Core and Builtins |
| 176 | |
| 177 | Optimize ``bytes.replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``. |
| 178 | Patch written by Josh Snider. |
| 179 | |
| 180 | .. |
| 181 | |
| 182 | .. bpo: 26581 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 183 | .. date: 9235 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 184 | .. nonce: yNA7nm |
| 185 | .. section: Core and Builtins |
| 186 | |
| 187 | If coding cookie is specified multiple times on a line in Python source code |
| 188 | file, only the first one is taken to account. |
| 189 | |
| 190 | .. |
| 191 | |
| 192 | .. bpo: 19711 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 193 | .. date: 9234 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 194 | .. nonce: gDDPJE |
| 195 | .. section: Core and Builtins |
| 196 | |
| 197 | Add tests for reloading namespace packages. |
| 198 | |
| 199 | .. |
| 200 | |
| 201 | .. bpo: 21099 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 202 | .. date: 9233 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 203 | .. nonce: CuMWZJ |
| 204 | .. section: Core and Builtins |
| 205 | |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 206 | Switch applicable importlib tests to use :pep:`451` API. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 207 | |
| 208 | .. |
| 209 | |
| 210 | .. bpo: 26563 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 211 | .. date: 9232 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 212 | .. nonce: lyrB2Q |
| 213 | .. section: Core and Builtins |
| 214 | |
| 215 | Debug hooks on Python memory allocators now raise a fatal error if functions |
| 216 | of the :c:func:`PyMem_Malloc` family are called without holding the GIL. |
| 217 | |
| 218 | .. |
| 219 | |
| 220 | .. bpo: 26564 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 221 | .. date: 9231 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 222 | .. nonce: xeRXaz |
| 223 | .. section: Core and Builtins |
| 224 | |
| 225 | On error, the debug hooks on Python memory allocators now use the |
| 226 | :mod:`tracemalloc` module to get the traceback where a memory block was |
| 227 | allocated. |
| 228 | |
| 229 | .. |
| 230 | |
| 231 | .. bpo: 26558 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 232 | .. date: 9230 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 233 | .. nonce: s05jz7 |
| 234 | .. section: Core and Builtins |
| 235 | |
| 236 | The debug hooks on Python memory allocator :c:func:`PyObject_Malloc` now |
| 237 | detect when functions are called without holding the GIL. |
| 238 | |
| 239 | .. |
| 240 | |
| 241 | .. bpo: 26516 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 242 | .. date: 9229 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 243 | .. nonce: OjekqZ |
| 244 | .. section: Core and Builtins |
| 245 | |
| 246 | Add :envvar:`PYTHONMALLOC` environment variable to set the Python memory |
| 247 | allocators and/or install debug hooks. |
| 248 | |
| 249 | .. |
| 250 | |
| 251 | .. bpo: 26516 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 252 | .. date: 9228 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 253 | .. nonce: chNJuF |
| 254 | .. section: Core and Builtins |
| 255 | |
| 256 | The :c:func:`PyMem_SetupDebugHooks` function can now also be used on Python |
| 257 | compiled in release mode. |
| 258 | |
| 259 | .. |
| 260 | |
| 261 | .. bpo: 26516 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 262 | .. date: 9227 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 263 | .. nonce: q7fu1f |
| 264 | .. section: Core and Builtins |
| 265 | |
| 266 | The :envvar:`PYTHONMALLOCSTATS` environment variable can now also be used on |
| 267 | Python compiled in release mode. It now has no effect if set to an empty |
| 268 | string. |
| 269 | |
| 270 | .. |
| 271 | |
| 272 | .. bpo: 26516 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 273 | .. date: 9226 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 274 | .. nonce: 2k9k6R |
| 275 | .. section: Core and Builtins |
| 276 | |
| 277 | In debug mode, debug hooks are now also installed on Python memory |
| 278 | allocators when Python is configured without pymalloc. |
| 279 | |
| 280 | .. |
| 281 | |
| 282 | .. bpo: 26464 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 283 | .. date: 9225 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 284 | .. nonce: 7BreGz |
| 285 | .. section: Core and Builtins |
| 286 | |
| 287 | Fix str.translate() when string is ASCII and first replacements removes |
| 288 | character, but next replacement uses a non-ASCII character or a string |
| 289 | longer than 1 character. Regression introduced in Python 3.5.0. |
| 290 | |
| 291 | .. |
| 292 | |
| 293 | .. bpo: 22836 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 294 | .. date: 9224 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 295 | .. nonce: cimt1y |
| 296 | .. section: Core and Builtins |
| 297 | |
| 298 | Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() |
| 299 | are sensible even when formatting them produces secondary errors. This |
| 300 | affects the reports produced by sys.__excepthook__() and when __del__() |
| 301 | raises an exception. |
| 302 | |
| 303 | .. |
| 304 | |
| 305 | .. bpo: 26302 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 306 | .. date: 9223 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 307 | .. nonce: UD9XQt |
| 308 | .. section: Core and Builtins |
| 309 | |
| 310 | Correct behavior to reject comma as a legal character for cookie names. |
| 311 | |
| 312 | .. |
| 313 | |
| 314 | .. bpo: 26136 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 315 | .. date: 9222 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 316 | .. nonce: eZ0t1K |
| 317 | .. section: Core and Builtins |
| 318 | |
| 319 | Upgrade the warning when a generator raises StopIteration from |
| 320 | PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah. |
| 321 | |
| 322 | .. |
| 323 | |
| 324 | .. bpo: 26204 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 325 | .. date: 9221 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 326 | .. nonce: x3Zp8E |
| 327 | .. section: Core and Builtins |
| 328 | |
| 329 | The compiler now ignores all constant statements: bytes, str, int, float, |
| 330 | complex, name constants (None, False, True), Ellipsis and ast.Constant; not |
| 331 | only str and int. For example, ``1.0`` is now ignored in ``def f(): 1.0``. |
| 332 | |
| 333 | .. |
| 334 | |
| 335 | .. bpo: 4806 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 336 | .. date: 9220 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 337 | .. nonce: i9m3hj |
| 338 | .. section: Core and Builtins |
| 339 | |
| 340 | Avoid masking the original TypeError exception when using star (``*``) |
| 341 | unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel |
| 342 | Urban. |
| 343 | |
| 344 | .. |
| 345 | |
| 346 | .. bpo: 26146 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 347 | .. date: 9219 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 348 | .. nonce: HKrUth |
| 349 | .. section: Core and Builtins |
| 350 | |
| 351 | Add a new kind of AST node: ``ast.Constant``. It can be used by external AST |
| 352 | optimizers, but the compiler does not emit directly such node. |
| 353 | |
| 354 | .. |
| 355 | |
| 356 | .. bpo: 23601 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 357 | .. date: 9218 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 358 | .. nonce: 2E4seG |
| 359 | .. section: Core and Builtins |
| 360 | |
| 361 | Sped-up allocation of dict key objects by using Python's small object |
| 362 | allocator. (Contributed by Julian Taylor.) |
| 363 | |
| 364 | .. |
| 365 | |
| 366 | .. bpo: 18018 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 367 | .. date: 9217 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 368 | .. nonce: XKKap3 |
| 369 | .. section: Core and Builtins |
| 370 | |
| 371 | Import raises ImportError instead of SystemError if a relative import is |
| 372 | attempted without a known parent package. |
| 373 | |
| 374 | .. |
| 375 | |
| 376 | .. bpo: 25843 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 377 | .. date: 9216 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 378 | .. nonce: NtJZie |
| 379 | .. section: Core and Builtins |
| 380 | |
| 381 | When compiling code, don't merge constants if they are equal but have a |
| 382 | different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now |
| 383 | correctly compiled to two different functions: ``f1()`` returns ``1`` |
| 384 | (``int``) and ``f2()`` returns ``1.0`` (``float``), even if ``1`` and |
| 385 | ``1.0`` are equal. |
| 386 | |
| 387 | .. |
| 388 | |
| 389 | .. bpo: 26107 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 390 | .. date: 9215 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 391 | .. nonce: q0LBMY |
| 392 | .. section: Core and Builtins |
| 393 | |
| 394 | The format of the ``co_lnotab`` attribute of code objects changes to support |
| 395 | negative line number delta. |
| 396 | |
| 397 | .. |
| 398 | |
| 399 | .. bpo: 26154 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 400 | .. date: 9214 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 401 | .. nonce: MtnRAH |
| 402 | .. section: Core and Builtins |
| 403 | |
| 404 | Add a new private _PyThreadState_UncheckedGet() function to get the current |
| 405 | Python thread state, but don't issue a fatal error if it is NULL. This new |
| 406 | function must be used instead of accessing directly the |
| 407 | _PyThreadState_Current variable. The variable is no more exposed since |
| 408 | Python 3.5.1 to hide the exact implementation of atomic C types, to avoid |
| 409 | compiler issues. |
| 410 | |
| 411 | .. |
| 412 | |
| 413 | .. bpo: 25791 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 414 | .. date: 9213 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 415 | .. nonce: gllzPw |
| 416 | .. section: Core and Builtins |
| 417 | |
| 418 | If __package__ != __spec__.parent or if neither __package__ or __spec__ are |
| 419 | defined then ImportWarning is raised. |
| 420 | |
| 421 | .. |
| 422 | |
| 423 | .. bpo: 22995 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 424 | .. date: 9212 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 425 | .. nonce: KYNKvs |
| 426 | .. section: Core and Builtins |
| 427 | |
| 428 | [UPDATE] Comment out the one of the pickleability tests in |
| 429 | _PyObject_GetState() due to regressions observed in Cython-based projects. |
| 430 | |
| 431 | .. |
| 432 | |
| 433 | .. bpo: 25961 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 434 | .. date: 9211 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 435 | .. nonce: Hdjjw0 |
| 436 | .. section: Core and Builtins |
| 437 | |
| 438 | Disallowed null characters in the type name. |
| 439 | |
| 440 | .. |
| 441 | |
| 442 | .. bpo: 25973 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 443 | .. date: 9210 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 444 | .. nonce: Ud__ZP |
| 445 | .. section: Core and Builtins |
| 446 | |
| 447 | Fix segfault when an invalid nonlocal statement binds a name starting with |
| 448 | two underscores. |
| 449 | |
| 450 | .. |
| 451 | |
| 452 | .. bpo: 22995 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 453 | .. date: 9209 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 454 | .. nonce: Wq0E86 |
| 455 | .. section: Core and Builtins |
| 456 | |
| 457 | Instances of extension types with a state that aren't subclasses of list or |
| 458 | dict and haven't implemented any pickle-related methods (__reduce__, |
| 459 | __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no |
| 460 | longer be pickled. Including memoryview. |
| 461 | |
| 462 | .. |
| 463 | |
| 464 | .. bpo: 20440 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 465 | .. date: 9208 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 466 | .. nonce: GCwOfH |
| 467 | .. section: Core and Builtins |
| 468 | |
| 469 | Massive replacing unsafe attribute setting code with special macro |
| 470 | Py_SETREF. |
| 471 | |
| 472 | .. |
| 473 | |
| 474 | .. bpo: 25766 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 475 | .. date: 9207 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 476 | .. nonce: jn93Yu |
| 477 | .. section: Core and Builtins |
| 478 | |
| 479 | Special method __bytes__() now works in str subclasses. |
| 480 | |
| 481 | .. |
| 482 | |
| 483 | .. bpo: 25421 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 484 | .. date: 9206 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 485 | .. nonce: c47YEL |
| 486 | .. section: Core and Builtins |
| 487 | |
| 488 | __sizeof__ methods of builtin types now use dynamic basic size. This allows |
| 489 | sys.getsize() to work correctly with their subclasses with __slots__ |
| 490 | defined. |
| 491 | |
| 492 | .. |
| 493 | |
| 494 | .. bpo: 25709 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 495 | .. date: 9205 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 496 | .. nonce: WwGm2k |
| 497 | .. section: Core and Builtins |
| 498 | |
| 499 | Fixed problem with in-place string concatenation and utf-8 cache. |
| 500 | |
| 501 | .. |
| 502 | |
| 503 | .. bpo: 5319 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 504 | .. date: 9204 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 505 | .. nonce: HxlGwI |
| 506 | .. section: Core and Builtins |
| 507 | |
| 508 | New Py_FinalizeEx() API allowing Python to set an exit status of 120 on |
| 509 | failure to flush buffered streams. |
| 510 | |
| 511 | .. |
| 512 | |
| 513 | .. bpo: 25485 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 514 | .. date: 9203 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 515 | .. nonce: 9qnaPt |
| 516 | .. section: Core and Builtins |
| 517 | |
| 518 | telnetlib.Telnet is now a context manager. |
| 519 | |
| 520 | .. |
| 521 | |
| 522 | .. bpo: 24097 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 523 | .. date: 9202 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 524 | .. nonce: Vt4E-i |
| 525 | .. section: Core and Builtins |
| 526 | |
| 527 | Fixed crash in object.__reduce__() if slot name is freed inside __getattr__. |
| 528 | |
| 529 | .. |
| 530 | |
| 531 | .. bpo: 24731 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 532 | .. date: 9201 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 533 | .. nonce: h9-hnz |
| 534 | .. section: Core and Builtins |
| 535 | |
| 536 | Fixed crash on converting objects with special methods __bytes__, __trunc__, |
| 537 | and __float__ returning instances of subclasses of bytes, int, and float to |
| 538 | subclasses of bytes, int, and float correspondingly. |
| 539 | |
| 540 | .. |
| 541 | |
| 542 | .. bpo: 25630 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 543 | .. date: 9200 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 544 | .. nonce: ZxzcoY |
| 545 | .. section: Core and Builtins |
| 546 | |
| 547 | Fix a possible segfault during argument parsing in functions that accept |
| 548 | filesystem paths. |
| 549 | |
| 550 | .. |
| 551 | |
| 552 | .. bpo: 23564 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 553 | .. date: 9199 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 554 | .. nonce: XHarGG |
| 555 | .. section: Core and Builtins |
| 556 | |
| 557 | Fixed a partially broken sanity check in the _posixsubprocess internals |
| 558 | regarding how fds_to_pass were passed to the child. The bug had no actual |
| 559 | impact as subprocess.py already avoided it. |
| 560 | |
| 561 | .. |
| 562 | |
| 563 | .. bpo: 25388 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 564 | .. date: 9198 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 565 | .. nonce: zm3uuQ |
| 566 | .. section: Core and Builtins |
| 567 | |
| 568 | Fixed tokenizer crash when processing undecodable source code with a null |
| 569 | byte. |
| 570 | |
| 571 | .. |
| 572 | |
| 573 | .. bpo: 25462 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 574 | .. date: 9197 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 575 | .. nonce: eXDzgO |
| 576 | .. section: Core and Builtins |
| 577 | |
| 578 | The hash of the key now is calculated only once in most operations in C |
| 579 | implementation of OrderedDict. |
| 580 | |
| 581 | .. |
| 582 | |
| 583 | .. bpo: 22995 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 584 | .. date: 9196 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 585 | .. nonce: 90kpuP |
| 586 | .. section: Core and Builtins |
| 587 | |
| 588 | Default implementation of __reduce__ and __reduce_ex__ now rejects builtin |
| 589 | types with not defined __new__. |
| 590 | |
| 591 | .. |
| 592 | |
| 593 | .. bpo: 24802 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 594 | .. date: 9195 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 595 | .. nonce: Qie066 |
| 596 | .. section: Core and Builtins |
| 597 | |
| 598 | Avoid buffer overreads when int(), float(), compile(), exec() and eval() are |
| 599 | passed bytes-like objects. These objects are not necessarily terminated by |
| 600 | a null byte, but the functions assumed they were. |
| 601 | |
| 602 | .. |
| 603 | |
| 604 | .. bpo: 25555 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 605 | .. date: 9194 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 606 | .. nonce: MUpG-j |
| 607 | .. section: Core and Builtins |
| 608 | |
| 609 | Fix parser and AST: fill lineno and col_offset of "arg" node when compiling |
| 610 | AST from Python objects. |
| 611 | |
| 612 | .. |
| 613 | |
| 614 | .. bpo: 24726 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 615 | .. date: 9193 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 616 | .. nonce: AHk4v2 |
| 617 | .. section: Core and Builtins |
| 618 | |
| 619 | Fixed a crash and leaking NULL in repr() of OrderedDict that was mutated by |
| 620 | direct calls of dict methods. |
| 621 | |
| 622 | .. |
| 623 | |
| 624 | .. bpo: 25449 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 625 | .. date: 9192 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 626 | .. nonce: VqTOFi |
| 627 | .. section: Core and Builtins |
| 628 | |
| 629 | Iterating OrderedDict with keys with unstable hash now raises KeyError in C |
| 630 | implementations as well as in Python implementation. |
| 631 | |
| 632 | .. |
| 633 | |
| 634 | .. bpo: 25395 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 635 | .. date: 9191 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 636 | .. nonce: htkE3W |
| 637 | .. section: Core and Builtins |
| 638 | |
| 639 | Fixed crash when highly nested OrderedDict structures were garbage |
| 640 | collected. |
| 641 | |
| 642 | .. |
| 643 | |
| 644 | .. bpo: 25401 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 645 | .. date: 9190 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 646 | .. nonce: ofrAtd |
| 647 | .. section: Core and Builtins |
| 648 | |
| 649 | Optimize bytes.fromhex() and bytearray.fromhex(): they are now between 2x |
| 650 | and 3.5x faster. |
| 651 | |
| 652 | .. |
| 653 | |
| 654 | .. bpo: 25399 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 655 | .. date: 9189 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 656 | .. nonce: dNKIhY |
| 657 | .. section: Core and Builtins |
| 658 | |
| 659 | Optimize bytearray % args using the new private _PyBytesWriter API. |
| 660 | Formatting is now between 2.5 and 5 times faster. |
| 661 | |
| 662 | .. |
| 663 | |
| 664 | .. bpo: 25274 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 665 | .. date: 9188 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 666 | .. nonce: QCGvAF |
| 667 | .. section: Core and Builtins |
| 668 | |
| 669 | sys.setrecursionlimit() now raises a RecursionError if the new recursion |
| 670 | limit is too low depending at the current recursion depth. Modify also the |
| 671 | "lower-water mark" formula to make it monotonic. This mark is used to decide |
| 672 | when the overflowed flag of the thread state is reset. |
| 673 | |
| 674 | .. |
| 675 | |
| 676 | .. bpo: 24402 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 677 | .. date: 9187 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 678 | .. nonce: MAgi3X |
| 679 | .. section: Core and Builtins |
| 680 | |
| 681 | Fix input() to prompt to the redirected stdout when sys.stdout.fileno() |
| 682 | fails. |
| 683 | |
| 684 | .. |
| 685 | |
| 686 | .. bpo: 25349 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 687 | .. date: 9186 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 688 | .. nonce: 7lBgJ8 |
| 689 | .. section: Core and Builtins |
| 690 | |
| 691 | Optimize bytes % args using the new private _PyBytesWriter API. Formatting |
| 692 | is now up to 2 times faster. |
| 693 | |
| 694 | .. |
| 695 | |
| 696 | .. bpo: 24806 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 697 | .. date: 9185 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 698 | .. nonce: Nb0znT |
| 699 | .. section: Core and Builtins |
| 700 | |
| 701 | Prevent builtin types that are not allowed to be subclassed from being |
| 702 | subclassed through multiple inheritance. |
| 703 | |
| 704 | .. |
| 705 | |
| 706 | .. bpo: 25301 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 707 | .. date: 9184 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 708 | .. nonce: hUTCfr |
| 709 | .. section: Core and Builtins |
| 710 | |
| 711 | The UTF-8 decoder is now up to 15 times as fast for error handlers: |
| 712 | ``ignore``, ``replace`` and ``surrogateescape``. |
| 713 | |
| 714 | .. |
| 715 | |
| 716 | .. bpo: 24848 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 717 | .. date: 9183 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 718 | .. nonce: HlUSuy |
| 719 | .. section: Core and Builtins |
| 720 | |
| 721 | Fixed a number of bugs in UTF-7 decoding of misformed data. |
| 722 | |
| 723 | .. |
| 724 | |
| 725 | .. bpo: 25267 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 726 | .. date: 9182 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 727 | .. nonce: SW8Gs6 |
| 728 | .. section: Core and Builtins |
| 729 | |
| 730 | The UTF-8 encoder is now up to 75 times as fast for error handlers: |
Serhiy Storchaka | aef639f | 2018-05-21 02:36:05 +0300 | [diff] [blame] | 731 | ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch |
| 732 | co-written with Serhiy Storchaka. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 733 | |
| 734 | .. |
| 735 | |
| 736 | .. bpo: 25280 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 737 | .. date: 9181 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 738 | .. nonce: ivTMwd |
| 739 | .. section: Core and Builtins |
| 740 | |
| 741 | Import trace messages emitted in verbose (-v) mode are no longer formatted |
| 742 | twice. |
| 743 | |
| 744 | .. |
| 745 | |
| 746 | .. bpo: 25227 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 747 | .. date: 9180 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 748 | .. nonce: 19v5rp |
| 749 | .. section: Core and Builtins |
| 750 | |
| 751 | Optimize ASCII and latin1 encoders with the ``surrogateescape`` error |
| 752 | handler: the encoders are now up to 3 times as fast. Initial patch written |
| 753 | by Serhiy Storchaka. |
| 754 | |
| 755 | .. |
| 756 | |
| 757 | .. bpo: 25003 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 758 | .. date: 9179 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 759 | .. nonce: _ban92 |
| 760 | .. section: Core and Builtins |
| 761 | |
| 762 | On Solaris 11.3 or newer, os.urandom() now uses the getrandom() function |
| 763 | instead of the getentropy() function. The getentropy() function is blocking |
Serhiy Storchaka | aef639f | 2018-05-21 02:36:05 +0300 | [diff] [blame] | 764 | to generate very good quality entropy, os.urandom() doesn't need such |
| 765 | high-quality entropy. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 766 | |
| 767 | .. |
| 768 | |
| 769 | .. bpo: 9232 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 770 | .. date: 9178 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 771 | .. nonce: pjsmWw |
| 772 | .. section: Core and Builtins |
| 773 | |
| 774 | Modify Python's grammar to allow trailing commas in the argument list of a |
| 775 | function declaration. For example, "def f(\*, a = 3,): pass" is now legal. |
| 776 | Patch from Mark Dickinson. |
| 777 | |
| 778 | .. |
| 779 | |
| 780 | .. bpo: 24965 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 781 | .. date: 9177 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 782 | .. nonce: wfyxbB |
| 783 | .. section: Core and Builtins |
| 784 | |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 785 | Implement :pep:`498` "Literal String Interpolation". This allows you to embed |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 786 | expressions inside f-strings, which are converted to normal strings at run |
| 787 | time. Given x=3, then f'value={x}' == 'value=3'. Patch by Eric V. Smith. |
| 788 | |
| 789 | .. |
| 790 | |
| 791 | .. bpo: 26478 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 792 | .. date: 9176 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 793 | .. nonce: n0dB8e |
| 794 | .. section: Core and Builtins |
| 795 | |
| 796 | Fix semantic bugs when using binary operators with dictionary views and |
| 797 | tuples. |
| 798 | |
| 799 | .. |
| 800 | |
| 801 | .. bpo: 26171 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 802 | .. date: 9175 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 803 | .. nonce: 8SaQEa |
| 804 | .. section: Core and Builtins |
| 805 | |
| 806 | Fix possible integer overflow and heap corruption in zipimporter.get_data(). |
| 807 | |
| 808 | .. |
| 809 | |
| 810 | .. bpo: 25660 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 811 | .. date: 9174 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 812 | .. nonce: 93DzBo |
| 813 | .. section: Core and Builtins |
| 814 | |
| 815 | Fix TAB key behaviour in REPL with readline. |
| 816 | |
| 817 | .. |
| 818 | |
| 819 | .. bpo: 26288 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 820 | .. date: 9173 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 821 | .. nonce: f67RLk |
| 822 | .. section: Core and Builtins |
| 823 | |
| 824 | Optimize PyLong_AsDouble. |
| 825 | |
| 826 | .. |
| 827 | |
| 828 | .. bpo: 26289 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 829 | .. date: 9172 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 830 | .. nonce: uG9ozG |
| 831 | .. section: Core and Builtins |
| 832 | |
| 833 | Optimize floor and modulo division for single-digit longs. Microbenchmarks |
| 834 | show 2-2.5x improvement. Built-in 'divmod' function is now also ~10% |
| 835 | faster. (See also: bpo-26315) |
| 836 | |
| 837 | .. |
| 838 | |
| 839 | .. bpo: 25887 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 840 | .. date: 9171 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 841 | .. nonce: PtVIX7 |
| 842 | .. section: Core and Builtins |
| 843 | |
| 844 | Raise a RuntimeError when a coroutine object is awaited more than once. |
| 845 | |
| 846 | .. |
| 847 | |
| 848 | .. bpo: 27057 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 849 | .. date: 9170 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 850 | .. nonce: YzTA_Q |
| 851 | .. section: Library |
| 852 | |
| 853 | Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails |
| 854 | with EACCESS. The function now falls back to fcntl(). Patch written by |
| 855 | Michał Bednarski. |
| 856 | |
| 857 | .. |
| 858 | |
| 859 | .. bpo: 27014 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 860 | .. date: 9169 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 861 | .. nonce: ui7Khn |
| 862 | .. section: Library |
| 863 | |
| 864 | Fix infinite recursion using typing.py. Thanks to Kalle Tuure! |
| 865 | |
| 866 | .. |
| 867 | |
| 868 | .. bpo: 27031 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 869 | .. date: 9168 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 870 | .. nonce: FtvDPs |
| 871 | .. section: Library |
| 872 | |
| 873 | Removed dummy methods in Tkinter widget classes: tk_menuBar() and |
| 874 | tk_bindForTraversal(). |
| 875 | |
| 876 | .. |
| 877 | |
| 878 | .. bpo: 14132 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 879 | .. date: 9167 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 880 | .. nonce: 5wR9MN |
| 881 | .. section: Library |
| 882 | |
| 883 | Fix urllib.request redirect handling when the target only has a query |
| 884 | string. Original fix by Ján Janech. |
| 885 | |
| 886 | .. |
| 887 | |
| 888 | .. bpo: 17214 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 889 | .. date: 9166 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 890 | .. nonce: lUbZOV |
| 891 | .. section: Library |
| 892 | |
| 893 | The "urllib.request" module now percent-encodes non-ASCII bytes found in |
Serhiy Storchaka | aef639f | 2018-05-21 02:36:05 +0300 | [diff] [blame] | 894 | redirect target URLs. Some servers send Location header fields with |
| 895 | non-ASCII bytes, but "http.client" requires the request target to be |
| 896 | ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 897 | Christian Heimes. |
| 898 | |
| 899 | .. |
| 900 | |
| 901 | .. bpo: 27033 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 902 | .. date: 9165 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 903 | .. nonce: o4XIPr |
| 904 | .. section: Library |
| 905 | |
| 906 | The default value of the decode_data parameter for smtpd.SMTPChannel and |
| 907 | smtpd.SMTPServer constructors is changed to False. |
| 908 | |
| 909 | .. |
| 910 | |
| 911 | .. bpo: 27034 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 912 | .. date: 9164 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 913 | .. nonce: ptzz_S |
| 914 | .. section: Library |
| 915 | |
| 916 | Removed deprecated class asynchat.fifo. |
| 917 | |
| 918 | .. |
| 919 | |
| 920 | .. bpo: 26870 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 921 | .. date: 9163 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 922 | .. nonce: 5tCUlp |
| 923 | .. section: Library |
| 924 | |
| 925 | Added readline.set_auto_history(), which can stop entries being |
| 926 | automatically added to the history list. Based on patch by Tyler Crompton. |
| 927 | |
| 928 | .. |
| 929 | |
| 930 | .. bpo: 26039 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 931 | .. date: 9162 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 932 | .. nonce: JnXjiE |
| 933 | .. section: Library |
| 934 | |
| 935 | zipfile.ZipFile.open() can now be used to write data into a ZIP file, as |
| 936 | well as for extracting data. Patch by Thomas Kluyver. |
| 937 | |
| 938 | .. |
| 939 | |
| 940 | .. bpo: 26892 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 941 | .. date: 9161 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 942 | .. nonce: XIXb0h |
| 943 | .. section: Library |
| 944 | |
| 945 | Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by |
| 946 | Chi Hsuan Yen. |
| 947 | |
| 948 | .. |
| 949 | |
| 950 | .. bpo: 22274 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 951 | .. date: 9160 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 952 | .. nonce: 0RHDMN |
| 953 | .. section: Library |
| 954 | |
| 955 | In the subprocess module, allow stderr to be redirected to stdout even when |
| 956 | stdout is not redirected. Patch by Akira Li. |
| 957 | |
| 958 | .. |
| 959 | |
| 960 | .. bpo: 26807 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 961 | .. date: 9159 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 962 | .. nonce: LXSPP6 |
| 963 | .. section: Library |
| 964 | |
| 965 | mock_open 'files' no longer error on readline at end of file. Patch from |
| 966 | Yolanda Robla. |
| 967 | |
| 968 | .. |
| 969 | |
| 970 | .. bpo: 25745 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 971 | .. date: 9158 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 972 | .. nonce: -n8acU |
| 973 | .. section: Library |
| 974 | |
| 975 | Fixed leaking a userptr in curses panel destructor. |
| 976 | |
| 977 | .. |
| 978 | |
| 979 | .. bpo: 26977 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 980 | .. date: 9157 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 981 | .. nonce: 5G4HtL |
| 982 | .. section: Library |
| 983 | |
| 984 | Removed unnecessary, and ignored, call to sum of squares helper in |
| 985 | statistics.pvariance. |
| 986 | |
| 987 | .. |
| 988 | |
| 989 | .. bpo: 26002 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 990 | .. date: 9156 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 991 | .. nonce: bVD4pW |
| 992 | .. section: Library |
| 993 | |
| 994 | Use bisect in statistics.median instead of a linear search. Patch by Upendra |
| 995 | Kuma. |
| 996 | |
| 997 | .. |
| 998 | |
| 999 | .. bpo: 25974 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1000 | .. date: 9155 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1001 | .. nonce: cpOy5R |
| 1002 | .. section: Library |
| 1003 | |
| 1004 | Make use of new Decimal.as_integer_ratio() method in statistics module. |
| 1005 | Patch by Stefan Krah. |
| 1006 | |
| 1007 | .. |
| 1008 | |
| 1009 | .. bpo: 26996 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1010 | .. date: 9154 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1011 | .. nonce: LR__VD |
| 1012 | .. section: Library |
| 1013 | |
Stéphane Wirtel | 12e696b | 2018-10-27 00:58:26 +0200 | [diff] [blame] | 1014 | Add secrets module as described in :pep:`506`. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1015 | |
| 1016 | .. |
| 1017 | |
| 1018 | .. bpo: 26881 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1019 | .. date: 9153 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1020 | .. nonce: mdiq_L |
| 1021 | .. section: Library |
| 1022 | |
| 1023 | The modulefinder module now supports extended opcode arguments. |
| 1024 | |
| 1025 | .. |
| 1026 | |
| 1027 | .. bpo: 23815 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1028 | .. date: 9152 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1029 | .. nonce: _krNe8 |
| 1030 | .. section: Library |
| 1031 | |
| 1032 | Fixed crashes related to directly created instances of types in _tkinter and |
| 1033 | curses.panel modules. |
| 1034 | |
| 1035 | .. |
| 1036 | |
| 1037 | .. bpo: 17765 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1038 | .. date: 9151 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1039 | .. nonce: hiSVS1 |
| 1040 | .. section: Library |
| 1041 | |
| 1042 | weakref.ref() no longer silently ignores keyword arguments. Patch by Georg |
| 1043 | Brandl. |
| 1044 | |
| 1045 | .. |
| 1046 | |
| 1047 | .. bpo: 26873 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1048 | .. date: 9150 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1049 | .. nonce: cYXRcH |
| 1050 | .. section: Library |
| 1051 | |
| 1052 | xmlrpc now raises ResponseError on unsupported type tags instead of silently |
| 1053 | return incorrect result. |
| 1054 | |
| 1055 | .. |
| 1056 | |
| 1057 | .. bpo: 26915 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1058 | .. date: 9149 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1059 | .. nonce: GoQKUL |
| 1060 | .. section: Library |
| 1061 | |
| 1062 | The __contains__ methods in the collections ABCs now check for identity |
| 1063 | before checking equality. This better matches the behavior of the concrete |
| 1064 | classes, allows sensible handling of NaNs, and makes it easier to reason |
| 1065 | about container invariants. |
| 1066 | |
| 1067 | .. |
| 1068 | |
| 1069 | .. bpo: 26711 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1070 | .. date: 9148 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1071 | .. nonce: Eu85Qw |
| 1072 | .. section: Library |
| 1073 | |
| 1074 | Fixed the comparison of plistlib.Data with other types. |
| 1075 | |
| 1076 | .. |
| 1077 | |
| 1078 | .. bpo: 24114 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1079 | .. date: 9147 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1080 | .. nonce: RMRMtM |
| 1081 | .. section: Library |
| 1082 | |
| 1083 | Fix an uninitialized variable in `ctypes.util`. |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1084 | The bug only occurs on SunOS when the ctypes implementation searches for the |
| 1085 | `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos. |
| 1086 | |
| 1087 | .. |
| 1088 | |
| 1089 | .. bpo: 26864 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1090 | .. date: 9146 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1091 | .. nonce: 1KgGds |
| 1092 | .. section: Library |
| 1093 | |
| 1094 | In urllib.request, change the proxy bypass host checking against no_proxy to |
| 1095 | be case-insensitive, and to not match unrelated host names that happen to |
| 1096 | have a bypassed hostname as a suffix. Patch by Xiang Zhang. |
| 1097 | |
| 1098 | .. |
| 1099 | |
| 1100 | .. bpo: 24902 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1101 | .. date: 9145 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1102 | .. nonce: bwWpLj |
| 1103 | .. section: Library |
| 1104 | |
| 1105 | Print server URL on http.server startup. Initial patch by Felix Kaiser. |
| 1106 | |
| 1107 | .. |
| 1108 | |
| 1109 | .. bpo: 25788 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1110 | .. date: 9144 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1111 | .. nonce: 9weIV5 |
| 1112 | .. section: Library |
| 1113 | |
| 1114 | fileinput.hook_encoded() now supports an "errors" argument for passing to |
| 1115 | open. Original patch by Joseph Hackman. |
| 1116 | |
| 1117 | .. |
| 1118 | |
| 1119 | .. bpo: 26634 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1120 | .. date: 9143 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1121 | .. nonce: FZvsSb |
| 1122 | .. section: Library |
| 1123 | |
| 1124 | recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang. |
| 1125 | |
| 1126 | .. |
| 1127 | |
| 1128 | .. bpo: 26804 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1129 | .. date: 9142 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1130 | .. nonce: 9Orp-G |
| 1131 | .. section: Library |
| 1132 | |
| 1133 | urllib.request will prefer lower_case proxy environment variables over |
| 1134 | UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. |
| 1135 | |
| 1136 | .. |
| 1137 | |
| 1138 | .. bpo: 26837 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1139 | .. date: 9141 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1140 | .. nonce: 2FXGsD |
| 1141 | .. section: Library |
| 1142 | |
| 1143 | assertSequenceEqual() now correctly outputs non-stringified differing items |
| 1144 | (like bytes in the -b mode). This affects assertListEqual() and |
| 1145 | assertTupleEqual(). |
| 1146 | |
| 1147 | .. |
| 1148 | |
| 1149 | .. bpo: 26041 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1150 | .. date: 9140 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1151 | .. nonce: bVem-p |
| 1152 | .. section: Library |
| 1153 | |
| 1154 | Remove "will be removed in Python 3.7" from deprecation messages of |
| 1155 | platform.dist() and platform.linux_distribution(). Patch by Kumaripaba |
| 1156 | Miyurusara Athukorala. |
| 1157 | |
| 1158 | .. |
| 1159 | |
| 1160 | .. bpo: 26822 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1161 | .. date: 9139 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1162 | .. nonce: rYSL4W |
| 1163 | .. section: Library |
| 1164 | |
| 1165 | itemgetter, attrgetter and methodcaller objects no longer silently ignore |
| 1166 | keyword arguments. |
| 1167 | |
| 1168 | .. |
| 1169 | |
| 1170 | .. bpo: 26733 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1171 | .. date: 9138 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1172 | .. nonce: YxaJmL |
| 1173 | .. section: Library |
| 1174 | |
| 1175 | Disassembling a class now disassembles class and static methods. Patch by |
| 1176 | Xiang Zhang. |
| 1177 | |
| 1178 | .. |
| 1179 | |
| 1180 | .. bpo: 26801 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1181 | .. date: 9137 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1182 | .. nonce: TQGY-7 |
| 1183 | .. section: Library |
| 1184 | |
| 1185 | Fix error handling in :func:`shutil.get_terminal_size`, catch |
| 1186 | :exc:`AttributeError` instead of :exc:`NameError`. Patch written by Emanuel |
| 1187 | Barry. |
| 1188 | |
| 1189 | .. |
| 1190 | |
| 1191 | .. bpo: 24838 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1192 | .. date: 9136 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1193 | .. nonce: 3Pfx8T |
| 1194 | .. section: Library |
| 1195 | |
| 1196 | tarfile's ustar and gnu formats now correctly calculate name and link field |
| 1197 | limits for multibyte character encodings like utf-8. |
| 1198 | |
| 1199 | .. |
| 1200 | |
| 1201 | .. bpo: 26657 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1202 | .. date: 9135 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1203 | .. nonce: C_-XFg |
| 1204 | .. original section: Library |
| 1205 | .. section: Security |
| 1206 | |
| 1207 | Fix directory traversal vulnerability with http.server on Windows. This |
| 1208 | fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on |
| 1209 | patch by Philipp Hagemeister. |
| 1210 | |
| 1211 | .. |
| 1212 | |
| 1213 | .. bpo: 26717 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1214 | .. date: 9134 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1215 | .. nonce: jngTdu |
| 1216 | .. section: Library |
| 1217 | |
| 1218 | Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile. |
| 1219 | |
| 1220 | .. |
| 1221 | |
| 1222 | .. bpo: 26782 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1223 | .. date: 9133 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1224 | .. nonce: JWLPrH |
| 1225 | .. section: Library |
| 1226 | |
| 1227 | Add STARTUPINFO to subprocess.__all__ on Windows. |
| 1228 | |
| 1229 | .. |
| 1230 | |
| 1231 | .. bpo: 26404 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1232 | .. date: 9132 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1233 | .. nonce: hXw7Bs |
| 1234 | .. section: Library |
| 1235 | |
| 1236 | Add context manager to socketserver. Patch by Aviv Palivoda. |
| 1237 | |
| 1238 | .. |
| 1239 | |
| 1240 | .. bpo: 26735 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1241 | .. date: 9131 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1242 | .. nonce: riSl3b |
| 1243 | .. section: Library |
| 1244 | |
| 1245 | Fix :func:`os.urandom` on Solaris 11.3 and newer when reading more than |
| 1246 | 1,024 bytes: call ``getrandom()`` multiple times with a limit of 1024 bytes |
| 1247 | per call. |
| 1248 | |
| 1249 | .. |
| 1250 | |
| 1251 | .. bpo: 26585 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1252 | .. date: 9130 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1253 | .. nonce: kfb749 |
| 1254 | .. section: Library |
| 1255 | |
| 1256 | Eliminate http.server._quote_html() and use html.escape(quote=False). Patch |
| 1257 | by Xiang Zhang. |
| 1258 | |
| 1259 | .. |
| 1260 | |
| 1261 | .. bpo: 26685 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1262 | .. date: 9129 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1263 | .. nonce: sI_1Ff |
| 1264 | .. section: Library |
| 1265 | |
| 1266 | Raise OSError if closing a socket fails. |
| 1267 | |
| 1268 | .. |
| 1269 | |
| 1270 | .. bpo: 16329 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1271 | .. date: 9128 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1272 | .. nonce: nuXD8W |
| 1273 | .. section: Library |
| 1274 | |
| 1275 | Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. |
| 1276 | |
| 1277 | .. |
| 1278 | |
| 1279 | .. bpo: 13952 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1280 | .. date: 9127 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1281 | .. nonce: SOoTVE |
| 1282 | .. section: Library |
| 1283 | |
| 1284 | Add .csv to mimetypes.types_map. Patch by Geoff Wilson. |
| 1285 | |
| 1286 | .. |
| 1287 | |
| 1288 | .. bpo: 26587 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1289 | .. date: 9126 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1290 | .. nonce: Qo-B6C |
| 1291 | .. section: Library |
| 1292 | |
| 1293 | the site module now allows .pth files to specify files to be added to |
| 1294 | sys.path (e.g. zip files). |
| 1295 | |
| 1296 | .. |
| 1297 | |
| 1298 | .. bpo: 25609 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1299 | .. date: 9125 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1300 | .. nonce: t1ydQM |
| 1301 | .. section: Library |
| 1302 | |
| 1303 | Introduce contextlib.AbstractContextManager and typing.ContextManager. |
| 1304 | |
| 1305 | .. |
| 1306 | |
| 1307 | .. bpo: 26709 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1308 | .. date: 9124 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1309 | .. nonce: luOPbP |
| 1310 | .. section: Library |
| 1311 | |
| 1312 | Fixed Y2038 problem in loading binary PLists. |
| 1313 | |
| 1314 | .. |
| 1315 | |
| 1316 | .. bpo: 23735 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1317 | .. date: 9123 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1318 | .. nonce: Y5oQ9r |
| 1319 | .. section: Library |
| 1320 | |
| 1321 | Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH |
| 1322 | handler. Patch by Eric Price. |
| 1323 | |
| 1324 | .. |
| 1325 | |
| 1326 | .. bpo: 25951 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1327 | .. date: 9122 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1328 | .. nonce: 1CUASJ |
| 1329 | .. section: Library |
| 1330 | |
| 1331 | Change SSLSocket.sendall() to return None, as explicitly documented for |
| 1332 | plain socket objects. Patch by Aviv Palivoda. |
| 1333 | |
| 1334 | .. |
| 1335 | |
| 1336 | .. bpo: 26586 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1337 | .. date: 9121 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1338 | .. nonce: V5pZNa |
| 1339 | .. section: Library |
| 1340 | |
| 1341 | In http.server, respond with "413 Request header fields too large" if there |
| 1342 | are too many header fields to parse, rather than killing the connection and |
| 1343 | raising an unhandled exception. Patch by Xiang Zhang. |
| 1344 | |
| 1345 | .. |
| 1346 | |
| 1347 | .. bpo: 26676 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1348 | .. date: 9120 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1349 | .. nonce: zLRFed |
| 1350 | .. section: Library |
| 1351 | |
| 1352 | Added missing XMLPullParser to ElementTree.__all__. |
| 1353 | |
| 1354 | .. |
| 1355 | |
| 1356 | .. bpo: 22854 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1357 | .. date: 9119 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1358 | .. nonce: K3rMEH |
| 1359 | .. section: Library |
| 1360 | |
| 1361 | Change BufferedReader.writable() and BufferedWriter.readable() to always |
| 1362 | return False. |
| 1363 | |
| 1364 | .. |
| 1365 | |
| 1366 | .. bpo: 26492 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1367 | .. date: 9118 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1368 | .. nonce: YN18iz |
| 1369 | .. section: Library |
| 1370 | |
| 1371 | Exhausted iterator of array.array now conforms with the behavior of |
| 1372 | iterators of other mutable sequences: it lefts exhausted even if iterated |
| 1373 | array is extended. |
| 1374 | |
| 1375 | .. |
| 1376 | |
| 1377 | .. bpo: 26641 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1378 | .. date: 9117 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1379 | .. nonce: 1ICQz0 |
| 1380 | .. section: Library |
| 1381 | |
| 1382 | doctest.DocFileTest and doctest.testfile() now support packages (module |
| 1383 | splitted into multiple directories) for the package parameter. |
| 1384 | |
| 1385 | .. |
| 1386 | |
| 1387 | .. bpo: 25195 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1388 | .. date: 9116 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1389 | .. nonce: EOc4Po |
| 1390 | .. section: Library |
| 1391 | |
| 1392 | Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset |
| 1393 | 3603bae63c13 only works for classes) so we need to implement __ne__ |
| 1394 | ourselves. Patch by Andrew Plummer. |
| 1395 | |
| 1396 | .. |
| 1397 | |
| 1398 | .. bpo: 26644 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1399 | .. date: 9115 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1400 | .. nonce: 7tt1tk |
| 1401 | .. section: Library |
| 1402 | |
| 1403 | Raise ValueError rather than SystemError when a negative length is passed to |
| 1404 | SSLSocket.recv() or read(). |
| 1405 | |
| 1406 | .. |
| 1407 | |
| 1408 | .. bpo: 23804 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1409 | .. date: 9114 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1410 | .. nonce: PP63Ff |
| 1411 | .. section: Library |
| 1412 | |
| 1413 | Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to |
| 1414 | 1024. |
| 1415 | |
| 1416 | .. |
| 1417 | |
| 1418 | .. bpo: 26616 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1419 | .. date: 9113 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1420 | .. nonce: v3QwdD |
| 1421 | .. section: Library |
| 1422 | |
| 1423 | Fixed a bug in datetime.astimezone() method. |
| 1424 | |
| 1425 | .. |
| 1426 | |
| 1427 | .. bpo: 26637 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1428 | .. date: 9112 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1429 | .. nonce: ttiUf7 |
| 1430 | .. section: Library |
| 1431 | |
| 1432 | The :mod:`importlib` module now emits an :exc:`ImportError` rather than a |
| 1433 | :exc:`TypeError` if :func:`__import__` is tried during the Python shutdown |
| 1434 | process but :data:`sys.path` is already cleared (set to ``None``). |
| 1435 | |
| 1436 | .. |
| 1437 | |
| 1438 | .. bpo: 21925 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1439 | .. date: 9111 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1440 | .. nonce: xFz-hR |
| 1441 | .. section: Library |
| 1442 | |
| 1443 | :func:`warnings.formatwarning` now catches exceptions when calling |
| 1444 | :func:`linecache.getline` and :func:`tracemalloc.get_object_traceback` to be |
| 1445 | able to log :exc:`ResourceWarning` emitted late during the Python shutdown |
| 1446 | process. |
| 1447 | |
| 1448 | .. |
| 1449 | |
| 1450 | .. bpo: 23848 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1451 | .. date: 9110 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1452 | .. nonce: RkKqPi |
| 1453 | .. section: Library |
| 1454 | |
| 1455 | On Windows, faulthandler.enable() now also installs an exception handler to |
| 1456 | dump the traceback of all Python threads on any Windows exception, not only |
| 1457 | on UNIX signals (SIGSEGV, SIGFPE, SIGABRT). |
| 1458 | |
| 1459 | .. |
| 1460 | |
| 1461 | .. bpo: 26530 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1462 | .. date: 9109 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1463 | .. nonce: RWN1jR |
| 1464 | .. section: Library |
| 1465 | |
| 1466 | Add C functions :c:func:`_PyTraceMalloc_Track` and |
| 1467 | :c:func:`_PyTraceMalloc_Untrack` to track memory blocks using the |
| 1468 | :mod:`tracemalloc` module. Add :c:func:`_PyTraceMalloc_GetTraceback` to get |
| 1469 | the traceback of an object. |
| 1470 | |
| 1471 | .. |
| 1472 | |
| 1473 | .. bpo: 26588 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1474 | .. date: 9108 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1475 | .. nonce: uen0XP |
| 1476 | .. section: Library |
| 1477 | |
| 1478 | The _tracemalloc now supports tracing memory allocations of multiple address |
| 1479 | spaces (domains). |
| 1480 | |
| 1481 | .. |
| 1482 | |
| 1483 | .. bpo: 24266 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1484 | .. date: 9107 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1485 | .. nonce: YZgVyM |
| 1486 | .. section: Library |
| 1487 | |
| 1488 | Ctrl+C during Readline history search now cancels the search mode when |
| 1489 | compiled with Readline 7. |
| 1490 | |
| 1491 | .. |
| 1492 | |
| 1493 | .. bpo: 26590 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1494 | .. date: 9106 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1495 | .. nonce: qEy91x |
| 1496 | .. section: Library |
| 1497 | |
| 1498 | Implement a safe finalizer for the _socket.socket type. It now releases the |
| 1499 | GIL to close the socket. |
| 1500 | |
| 1501 | .. |
| 1502 | |
| 1503 | .. bpo: 18787 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1504 | .. date: 9105 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1505 | .. nonce: rWyzgA |
| 1506 | .. section: Library |
| 1507 | |
| 1508 | spwd.getspnam() now raises a PermissionError if the user doesn't have |
| 1509 | privileges. |
| 1510 | |
| 1511 | .. |
| 1512 | |
| 1513 | .. bpo: 26560 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1514 | .. date: 9104 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1515 | .. nonce: A4WXNz |
| 1516 | .. section: Library |
| 1517 | |
| 1518 | Avoid potential ValueError in BaseHandler.start_response. Initial patch by |
| 1519 | Peter Inglesby. |
| 1520 | |
| 1521 | .. |
| 1522 | |
| 1523 | .. bpo: 26567 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1524 | .. date: 9103 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1525 | .. nonce: kcC99B |
| 1526 | .. section: Library |
| 1527 | |
| 1528 | Add a new function :c:func:`PyErr_ResourceWarning` function to pass the |
| 1529 | destroyed object. Add a *source* attribute to |
| 1530 | :class:`warnings.WarningMessage`. Add warnings._showwarnmsg() which uses |
| 1531 | tracemalloc to get the traceback where source object was allocated. |
| 1532 | |
| 1533 | .. |
| 1534 | |
| 1535 | .. bpo: 26313 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1536 | .. date: 9102 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1537 | .. nonce: LjZAjy |
| 1538 | .. original section: Library |
| 1539 | .. section: Security |
| 1540 | |
| 1541 | ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch |
| 1542 | by Baji. |
| 1543 | |
| 1544 | .. |
| 1545 | |
| 1546 | .. bpo: 26569 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1547 | .. date: 9101 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1548 | .. nonce: EX8vF1 |
| 1549 | .. section: Library |
| 1550 | |
| 1551 | Fix :func:`pyclbr.readmodule` and :func:`pyclbr.readmodule_ex` to support |
| 1552 | importing packages. |
| 1553 | |
| 1554 | .. |
| 1555 | |
| 1556 | .. bpo: 26499 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1557 | .. date: 9100 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1558 | .. nonce: NP08PI |
| 1559 | .. section: Library |
| 1560 | |
| 1561 | Account for remaining Content-Length in HTTPResponse.readline() and read1(). |
| 1562 | Based on patch by Silent Ghost. Also document that HTTPResponse now supports |
| 1563 | these methods. |
| 1564 | |
| 1565 | .. |
| 1566 | |
| 1567 | .. bpo: 25320 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1568 | .. date: 9099 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1569 | .. nonce: V96LIy |
| 1570 | .. section: Library |
| 1571 | |
| 1572 | Handle sockets in directories unittest discovery is scanning. Patch from |
| 1573 | Victor van den Elzen. |
| 1574 | |
| 1575 | .. |
| 1576 | |
| 1577 | .. bpo: 16181 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1578 | .. date: 9098 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1579 | .. nonce: P7lLvo |
| 1580 | .. section: Library |
| 1581 | |
| 1582 | cookiejar.http2time() now returns None if year is higher than |
| 1583 | datetime.MAXYEAR. |
| 1584 | |
| 1585 | .. |
| 1586 | |
| 1587 | .. bpo: 26513 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1588 | .. date: 9097 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1589 | .. nonce: HoPepy |
| 1590 | .. section: Library |
| 1591 | |
| 1592 | Fixes platform module detection of Windows Server |
| 1593 | |
| 1594 | .. |
| 1595 | |
| 1596 | .. bpo: 23718 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1597 | .. date: 9096 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1598 | .. nonce: AMPC0o |
| 1599 | .. section: Library |
| 1600 | |
| 1601 | Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence |
| 1602 | Gedai. |
| 1603 | |
| 1604 | .. |
| 1605 | |
| 1606 | .. bpo: 26323 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1607 | .. date: 9095 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1608 | .. nonce: KkZqEj |
| 1609 | .. section: Library |
| 1610 | |
| 1611 | Add Mock.assert_called() and Mock.assert_called_once() methods to |
| 1612 | unittest.mock. Patch written by Amit Saha. |
| 1613 | |
| 1614 | .. |
| 1615 | |
| 1616 | .. bpo: 20589 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1617 | .. date: 9094 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1618 | .. nonce: NsQ_I1 |
| 1619 | .. section: Library |
| 1620 | |
| 1621 | Invoking Path.owner() and Path.group() on Windows now raise |
| 1622 | NotImplementedError instead of ImportError. |
| 1623 | |
| 1624 | .. |
| 1625 | |
| 1626 | .. bpo: 26177 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1627 | .. date: 9093 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1628 | .. nonce: HlSWer |
| 1629 | .. section: Library |
| 1630 | |
| 1631 | Fixed the keys() method for Canvas and Scrollbar widgets. |
| 1632 | |
| 1633 | .. |
| 1634 | |
| 1635 | .. bpo: 15068 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1636 | .. date: 9092 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1637 | .. nonce: xokEVC |
| 1638 | .. section: Library |
| 1639 | |
| 1640 | Got rid of excessive buffering in fileinput. The bufsize parameter is now |
| 1641 | deprecated and ignored. |
| 1642 | |
| 1643 | .. |
| 1644 | |
| 1645 | .. bpo: 19475 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1646 | .. date: 9091 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1647 | .. nonce: MH2HH9 |
| 1648 | .. section: Library |
| 1649 | |
| 1650 | Added an optional argument timespec to the datetime isoformat() method to |
| 1651 | choose the precision of the time component. |
| 1652 | |
| 1653 | .. |
| 1654 | |
| 1655 | .. bpo: 2202 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1656 | .. date: 9090 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1657 | .. nonce: dk9sd0 |
| 1658 | .. section: Library |
| 1659 | |
| 1660 | Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. |
| 1661 | Initial patch by Mathieu Dupuy. |
| 1662 | |
| 1663 | .. |
| 1664 | |
| 1665 | .. bpo: 26167 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1666 | .. date: 9089 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1667 | .. nonce: 3F-d12 |
| 1668 | .. section: Library |
| 1669 | |
| 1670 | Minimized overhead in copy.copy() and copy.deepcopy(). Optimized copying and |
| 1671 | deepcopying bytearrays, NotImplemented, slices, short lists, tuples, dicts, |
| 1672 | sets. |
| 1673 | |
| 1674 | .. |
| 1675 | |
| 1676 | .. bpo: 25718 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1677 | .. date: 9088 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1678 | .. nonce: 4EjZyv |
| 1679 | .. section: Library |
| 1680 | |
| 1681 | Fixed pickling and copying the accumulate() iterator with total is None. |
| 1682 | |
| 1683 | .. |
| 1684 | |
| 1685 | .. bpo: 26475 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1686 | .. date: 9087 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1687 | .. nonce: JXVccY |
| 1688 | .. section: Library |
| 1689 | |
| 1690 | Fixed debugging output for regular expressions with the (?x) flag. |
| 1691 | |
| 1692 | .. |
| 1693 | |
| 1694 | .. bpo: 26482 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1695 | .. date: 9086 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1696 | .. nonce: d635gW |
| 1697 | .. section: Library |
| 1698 | |
| 1699 | Allowed pickling recursive dequeues. |
| 1700 | |
| 1701 | .. |
| 1702 | |
| 1703 | .. bpo: 26335 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1704 | .. date: 9085 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1705 | .. nonce: iXw5Yb |
| 1706 | .. section: Library |
| 1707 | |
| 1708 | Make mmap.write() return the number of bytes written like other write |
| 1709 | methods. Patch by Jakub Stasiak. |
| 1710 | |
| 1711 | .. |
| 1712 | |
| 1713 | .. bpo: 26457 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1714 | .. date: 9084 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1715 | .. nonce: Xe6Clh |
| 1716 | .. section: Library |
| 1717 | |
| 1718 | Fixed the subnets() methods in IP network classes for the case when |
| 1719 | resulting prefix length is equal to maximal prefix length. Based on patch by |
| 1720 | Xiang Zhang. |
| 1721 | |
| 1722 | .. |
| 1723 | |
| 1724 | .. bpo: 26385 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1725 | .. date: 9083 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1726 | .. nonce: 50bDXm |
| 1727 | .. section: Library |
| 1728 | |
| 1729 | Remove the file if the internal open() call in NamedTemporaryFile() fails. |
| 1730 | Patch by Silent Ghost. |
| 1731 | |
| 1732 | .. |
| 1733 | |
| 1734 | .. bpo: 26402 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1735 | .. date: 9082 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1736 | .. nonce: k7DVuU |
| 1737 | .. section: Library |
| 1738 | |
| 1739 | Fix XML-RPC client to retry when the server shuts down a persistent |
| 1740 | connection. This was a regression related to the new |
| 1741 | http.client.RemoteDisconnected exception in 3.5.0a4. |
| 1742 | |
| 1743 | .. |
| 1744 | |
| 1745 | .. bpo: 25913 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1746 | .. date: 9081 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1747 | .. nonce: 5flb95 |
| 1748 | .. section: Library |
| 1749 | |
| 1750 | Leading ``<~`` is optional now in base64.a85decode() with adobe=True. Patch |
| 1751 | by Swati Jaiswal. |
| 1752 | |
| 1753 | .. |
| 1754 | |
| 1755 | .. bpo: 26186 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1756 | .. date: 9080 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1757 | .. nonce: R9rfiL |
| 1758 | .. section: Library |
| 1759 | |
| 1760 | Remove an invalid type check in importlib.util.LazyLoader. |
| 1761 | |
| 1762 | .. |
| 1763 | |
| 1764 | .. bpo: 26367 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1765 | .. date: 9079 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1766 | .. nonce: Qct-9S |
| 1767 | .. section: Library |
| 1768 | |
| 1769 | importlib.__import__() raises ImportError like builtins.__import__() when |
| 1770 | ``level`` is specified but without an accompanying package specified. |
| 1771 | |
| 1772 | .. |
| 1773 | |
| 1774 | .. bpo: 26309 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1775 | .. date: 9078 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1776 | .. nonce: ubEeiz |
| 1777 | .. section: Library |
| 1778 | |
| 1779 | In the "socketserver" module, shut down the request (closing the connected |
| 1780 | socket) when verify_request() returns false. Patch by Aviv Palivoda. |
| 1781 | |
| 1782 | .. |
| 1783 | |
| 1784 | .. bpo: 23430 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1785 | .. date: 9077 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1786 | .. nonce: s_mLiA |
| 1787 | .. section: Library |
| 1788 | |
| 1789 | Change the socketserver module to only catch exceptions raised from a |
| 1790 | request handler that are derived from Exception (instead of BaseException). |
| 1791 | Therefore SystemExit and KeyboardInterrupt no longer trigger the |
| 1792 | handle_error() method, and will now to stop a single-threaded server. |
| 1793 | |
| 1794 | .. |
| 1795 | |
| 1796 | .. bpo: 25939 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1797 | .. date: 9076 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1798 | .. nonce: X49Fqd |
| 1799 | .. original section: Library |
| 1800 | .. section: Security |
| 1801 | |
| 1802 | On Windows open the cert store readonly in ssl.enum_certificates. |
| 1803 | |
| 1804 | .. |
| 1805 | |
| 1806 | .. bpo: 25995 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1807 | .. date: 9075 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1808 | .. nonce: NfcimP |
| 1809 | .. section: Library |
| 1810 | |
| 1811 | os.walk() no longer uses FDs proportional to the tree depth. |
| 1812 | |
| 1813 | .. |
| 1814 | |
| 1815 | .. bpo: 25994 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1816 | .. date: 9074 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1817 | .. nonce: ga9rT- |
| 1818 | .. section: Library |
| 1819 | |
| 1820 | Added the close() method and the support of the context manager protocol for |
| 1821 | the os.scandir() iterator. |
| 1822 | |
| 1823 | .. |
| 1824 | |
| 1825 | .. bpo: 23992 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1826 | .. date: 9073 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1827 | .. nonce: O0Hhvc |
| 1828 | .. section: Library |
| 1829 | |
| 1830 | multiprocessing: make MapResult not fail-fast upon exception. |
| 1831 | |
| 1832 | .. |
| 1833 | |
| 1834 | .. bpo: 26243 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1835 | .. date: 9072 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1836 | .. nonce: 41WSpF |
| 1837 | .. section: Library |
| 1838 | |
| 1839 | Support keyword arguments to zlib.compress(). Patch by Aviv Palivoda. |
| 1840 | |
| 1841 | .. |
| 1842 | |
| 1843 | .. bpo: 26117 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1844 | .. date: 9071 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1845 | .. nonce: ne6p11 |
| 1846 | .. section: Library |
| 1847 | |
| 1848 | The os.scandir() iterator now closes file descriptor not only when the |
| 1849 | iteration is finished, but when it was failed with error. |
| 1850 | |
| 1851 | .. |
| 1852 | |
| 1853 | .. bpo: 25949 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1854 | .. date: 9070 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1855 | .. nonce: -Lh9vz |
| 1856 | .. section: Library |
| 1857 | |
| 1858 | __dict__ for an OrderedDict instance is now created only when needed. |
| 1859 | |
| 1860 | .. |
| 1861 | |
| 1862 | .. bpo: 25911 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1863 | .. date: 9069 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1864 | .. nonce: d4Zadh |
| 1865 | .. section: Library |
| 1866 | |
| 1867 | Restored support of bytes paths in os.walk() on Windows. |
| 1868 | |
| 1869 | .. |
| 1870 | |
| 1871 | .. bpo: 26045 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1872 | .. date: 9068 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1873 | .. nonce: WmzUrX |
| 1874 | .. section: Library |
| 1875 | |
| 1876 | Add UTF-8 suggestion to error message when posting a non-Latin-1 string with |
| 1877 | http.client. |
| 1878 | |
| 1879 | .. |
| 1880 | |
| 1881 | .. bpo: 26039 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1882 | .. date: 9067 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1883 | .. nonce: a5Bxm4 |
| 1884 | .. section: Library |
| 1885 | |
| 1886 | Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by |
| 1887 | Thomas Kluyver. |
| 1888 | |
| 1889 | .. |
| 1890 | |
| 1891 | .. bpo: 12923 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1892 | .. date: 9066 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1893 | .. nonce: HPAu-B |
| 1894 | .. section: Library |
| 1895 | |
| 1896 | Reset FancyURLopener's redirect counter even if there is an exception. |
| 1897 | Based on patches by Brian Brazil and Daniel Rocco. |
| 1898 | |
| 1899 | .. |
| 1900 | |
| 1901 | .. bpo: 25945 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1902 | .. date: 9065 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1903 | .. nonce: guNgNM |
| 1904 | .. section: Library |
| 1905 | |
| 1906 | Fixed a crash when unpickle the functools.partial object with wrong state. |
| 1907 | Fixed a leak in failed functools.partial constructor. "args" and "keywords" |
| 1908 | attributes of functools.partial have now always types tuple and dict |
| 1909 | correspondingly. |
| 1910 | |
| 1911 | .. |
| 1912 | |
| 1913 | .. bpo: 26202 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1914 | .. date: 9064 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1915 | .. nonce: LPIXLg |
| 1916 | .. section: Library |
| 1917 | |
| 1918 | copy.deepcopy() now correctly copies range() objects with non-atomic |
| 1919 | attributes. |
| 1920 | |
| 1921 | .. |
| 1922 | |
| 1923 | .. bpo: 23076 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1924 | .. date: 9063 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1925 | .. nonce: 8rphoP |
| 1926 | .. section: Library |
| 1927 | |
| 1928 | Path.glob() now raises a ValueError if it's called with an invalid pattern. |
| 1929 | Patch by Thomas Nyberg. |
| 1930 | |
| 1931 | .. |
| 1932 | |
| 1933 | .. bpo: 19883 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1934 | .. date: 9062 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1935 | .. nonce: z9TsO6 |
| 1936 | .. section: Library |
| 1937 | |
| 1938 | Fixed possible integer overflows in zipimport. |
| 1939 | |
| 1940 | .. |
| 1941 | |
| 1942 | .. bpo: 26227 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1943 | .. date: 9061 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1944 | .. nonce: Fe6oiB |
| 1945 | .. section: Library |
| 1946 | |
| 1947 | On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions |
| 1948 | of the socket module now decode the hostname from the ANSI code page rather |
| 1949 | than UTF-8. |
| 1950 | |
| 1951 | .. |
| 1952 | |
| 1953 | .. bpo: 26099 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1954 | .. date: 9060 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1955 | .. nonce: CH5jer |
| 1956 | .. section: Library |
| 1957 | |
| 1958 | The site module now writes an error into stderr if sitecustomize module can |
| 1959 | be imported but executing the module raise an ImportError. Same change for |
| 1960 | usercustomize. |
| 1961 | |
| 1962 | .. |
| 1963 | |
| 1964 | .. bpo: 26147 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1965 | .. date: 9059 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1966 | .. nonce: i-Jc01 |
| 1967 | .. section: Library |
| 1968 | |
| 1969 | xmlrpc now works with strings not encodable with used non-UTF-8 encoding. |
| 1970 | |
| 1971 | .. |
| 1972 | |
| 1973 | .. bpo: 25935 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1974 | .. date: 9058 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1975 | .. nonce: cyni91 |
| 1976 | .. section: Library |
| 1977 | |
| 1978 | Garbage collector now breaks reference loops with OrderedDict. |
| 1979 | |
| 1980 | .. |
| 1981 | |
| 1982 | .. bpo: 16620 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1983 | .. date: 9057 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1984 | .. nonce: rxpn_Y |
| 1985 | .. section: Library |
| 1986 | |
| 1987 | Fixed AttributeError in msilib.Directory.glob(). |
| 1988 | |
| 1989 | .. |
| 1990 | |
| 1991 | .. bpo: 26013 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 1992 | .. date: 9056 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 1993 | .. nonce: 93RKNz |
| 1994 | .. section: Library |
| 1995 | |
| 1996 | Added compatibility with broken protocol 2 pickles created in old Python 3 |
| 1997 | versions (3.4.3 and lower). |
| 1998 | |
| 1999 | .. |
| 2000 | |
| 2001 | .. bpo: 26129 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2002 | .. date: 9055 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2003 | .. nonce: g4RQZd |
| 2004 | .. section: Library |
| 2005 | |
| 2006 | Deprecated accepting non-integers in grp.getgrgid(). |
| 2007 | |
| 2008 | .. |
| 2009 | |
| 2010 | .. bpo: 25850 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2011 | .. date: 9054 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2012 | .. nonce: jwFPxj |
| 2013 | .. section: Library |
| 2014 | |
| 2015 | Use cross-compilation by default for 64-bit Windows. |
| 2016 | |
| 2017 | .. |
| 2018 | |
| 2019 | .. bpo: 25822 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2020 | .. date: 9053 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2021 | .. nonce: 0Eafyi |
| 2022 | .. section: Library |
| 2023 | |
| 2024 | Add docstrings to the fields of urllib.parse results. Patch contributed by |
| 2025 | Swati Jaiswal. |
| 2026 | |
| 2027 | .. |
| 2028 | |
| 2029 | .. bpo: 22642 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2030 | .. date: 9052 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2031 | .. nonce: PEgS9F |
| 2032 | .. section: Library |
| 2033 | |
| 2034 | Convert trace module option parsing mechanism to argparse. Patch contributed |
| 2035 | by SilentGhost. |
| 2036 | |
| 2037 | .. |
| 2038 | |
| 2039 | .. bpo: 24705 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2040 | .. date: 9051 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2041 | .. nonce: IZYwjR |
| 2042 | .. section: Library |
| 2043 | |
| 2044 | Fix sysconfig._parse_makefile not expanding ${} vars appearing before $() |
| 2045 | vars. |
| 2046 | |
| 2047 | .. |
| 2048 | |
| 2049 | .. bpo: 26069 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2050 | .. date: 9050 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2051 | .. nonce: NaF4lN |
| 2052 | .. section: Library |
| 2053 | |
| 2054 | Remove the deprecated apis in the trace module. |
| 2055 | |
| 2056 | .. |
| 2057 | |
| 2058 | .. bpo: 22138 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2059 | .. date: 9049 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2060 | .. nonce: nRNYkc |
| 2061 | .. section: Library |
| 2062 | |
| 2063 | Fix mock.patch behavior when patching descriptors. Restore original values |
| 2064 | after patching. Patch contributed by Sean McCully. |
| 2065 | |
| 2066 | .. |
| 2067 | |
| 2068 | .. bpo: 25672 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2069 | .. date: 9048 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2070 | .. nonce: fw9RJP |
| 2071 | .. section: Library |
| 2072 | |
| 2073 | In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode option if it is |
| 2074 | safe to do so. |
| 2075 | |
| 2076 | .. |
| 2077 | |
| 2078 | .. bpo: 26012 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2079 | .. date: 9047 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2080 | .. nonce: IFSXNm |
| 2081 | .. section: Library |
| 2082 | |
| 2083 | Don't traverse into symlinks for ``**`` pattern in pathlib.Path.[r]glob(). |
| 2084 | |
| 2085 | .. |
| 2086 | |
| 2087 | .. bpo: 24120 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2088 | .. date: 9046 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2089 | .. nonce: Yiwa0h |
| 2090 | .. section: Library |
| 2091 | |
| 2092 | Ignore PermissionError when traversing a tree with pathlib.Path.[r]glob(). |
| 2093 | Patch by Ulrich Petri. |
| 2094 | |
| 2095 | .. |
| 2096 | |
| 2097 | .. bpo: 21815 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2098 | .. date: 9045 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2099 | .. nonce: h7-UY8 |
| 2100 | .. section: Library |
| 2101 | |
| 2102 | Accept ] characters in the data portion of imap responses, in order to |
| 2103 | handle the flags with square brackets accepted and produced by servers such |
| 2104 | as gmail. |
| 2105 | |
| 2106 | .. |
| 2107 | |
| 2108 | .. bpo: 25447 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2109 | .. date: 9044 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2110 | .. nonce: -4m4xO |
| 2111 | .. section: Library |
| 2112 | |
| 2113 | fileinput now uses sys.stdin as-is if it does not have a buffer attribute |
| 2114 | (restores backward compatibility). |
| 2115 | |
| 2116 | .. |
| 2117 | |
| 2118 | .. bpo: 25971 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2119 | .. date: 9043 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2120 | .. nonce: vhMeG0 |
| 2121 | .. section: Library |
| 2122 | |
| 2123 | Optimized creating Fractions from floats by 2 times and from Decimals by 3 |
| 2124 | times. |
| 2125 | |
| 2126 | .. |
| 2127 | |
| 2128 | .. bpo: 25802 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2129 | .. date: 9042 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2130 | .. nonce: Y2KOnA |
| 2131 | .. section: Library |
| 2132 | |
| 2133 | Document as deprecated the remaining implementations of |
| 2134 | importlib.abc.Loader.load_module(). |
| 2135 | |
| 2136 | .. |
| 2137 | |
| 2138 | .. bpo: 25928 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2139 | .. date: 9041 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2140 | .. nonce: JsQfKK |
| 2141 | .. section: Library |
| 2142 | |
| 2143 | Add Decimal.as_integer_ratio(). |
| 2144 | |
| 2145 | .. |
| 2146 | |
| 2147 | .. bpo: 25447 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2148 | .. date: 9040 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2149 | .. nonce: ajPRDy |
| 2150 | .. section: Library |
| 2151 | |
| 2152 | Copying the lru_cache() wrapper object now always works, independently from |
| 2153 | the type of the wrapped object (by returning the original object unchanged). |
| 2154 | |
| 2155 | .. |
| 2156 | |
| 2157 | .. bpo: 25768 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2158 | .. date: 9039 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2159 | .. nonce: GDj2ip |
| 2160 | .. section: Library |
| 2161 | |
| 2162 | Have the functions in compileall return booleans instead of ints and add |
| 2163 | proper documentation and tests for the return values. |
| 2164 | |
| 2165 | .. |
| 2166 | |
| 2167 | .. bpo: 24103 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2168 | .. date: 9038 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2169 | .. nonce: WufqrQ |
| 2170 | .. section: Library |
| 2171 | |
| 2172 | Fixed possible use after free in ElementTree.XMLPullParser. |
| 2173 | |
| 2174 | .. |
| 2175 | |
| 2176 | .. bpo: 25860 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2177 | .. date: 9037 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2178 | .. nonce: 0hActb |
| 2179 | .. section: Library |
| 2180 | |
| 2181 | os.fwalk() no longer skips remaining directories when error occurs. |
| 2182 | Original patch by Samson Lee. |
| 2183 | |
| 2184 | .. |
| 2185 | |
| 2186 | .. bpo: 25914 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2187 | .. date: 9036 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2188 | .. nonce: h0V61F |
| 2189 | .. section: Library |
| 2190 | |
| 2191 | Fixed and simplified OrderedDict.__sizeof__. |
| 2192 | |
| 2193 | .. |
| 2194 | |
| 2195 | .. bpo: 25869 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2196 | .. date: 9035 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2197 | .. nonce: eAnRH5 |
| 2198 | .. section: Library |
| 2199 | |
| 2200 | Optimized deepcopying ElementTree; it is now 20 times faster. |
| 2201 | |
| 2202 | .. |
| 2203 | |
| 2204 | .. bpo: 25873 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2205 | .. date: 9034 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2206 | .. nonce: L4Fgjm |
| 2207 | .. section: Library |
| 2208 | |
| 2209 | Optimized iterating ElementTree. Iterating elements Element.iter() is now |
| 2210 | 40% faster, iterating text Element.itertext() is now up to 2.5 times faster. |
| 2211 | |
| 2212 | .. |
| 2213 | |
| 2214 | .. bpo: 25902 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2215 | .. date: 9033 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2216 | .. nonce: 6t2FmH |
| 2217 | .. section: Library |
| 2218 | |
| 2219 | Fixed various refcount issues in ElementTree iteration. |
| 2220 | |
| 2221 | .. |
| 2222 | |
| 2223 | .. bpo: 22227 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2224 | .. date: 9032 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2225 | .. nonce: 5utM-Q |
| 2226 | .. section: Library |
| 2227 | |
| 2228 | The TarFile iterator is reimplemented using generator. This implementation |
| 2229 | is simpler that using class. |
| 2230 | |
| 2231 | .. |
| 2232 | |
| 2233 | .. bpo: 25638 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2234 | .. date: 9031 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2235 | .. nonce: yitRj4 |
| 2236 | .. section: Library |
| 2237 | |
| 2238 | Optimized ElementTree.iterparse(); it is now 2x faster. Optimized |
| 2239 | ElementTree parsing; it is now 10% faster. |
| 2240 | |
| 2241 | .. |
| 2242 | |
| 2243 | .. bpo: 25761 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2244 | .. date: 9030 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2245 | .. nonce: JGgMOP |
| 2246 | .. section: Library |
| 2247 | |
| 2248 | Improved detecting errors in broken pickle data. |
| 2249 | |
| 2250 | .. |
| 2251 | |
| 2252 | .. bpo: 25717 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2253 | .. date: 9029 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2254 | .. nonce: 0_xjaK |
| 2255 | .. section: Library |
| 2256 | |
| 2257 | Restore the previous behaviour of tolerating most fstat() errors when |
| 2258 | opening files. This was a regression in 3.5a1, and stopped anonymous |
| 2259 | temporary files from working in special cases. |
| 2260 | |
| 2261 | .. |
| 2262 | |
| 2263 | .. bpo: 24903 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2264 | .. date: 9028 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2265 | .. nonce: 3LBdzb |
| 2266 | .. section: Library |
| 2267 | |
| 2268 | Fix regression in number of arguments compileall accepts when '-d' is |
| 2269 | specified. The check on the number of arguments has been dropped completely |
| 2270 | as it never worked correctly anyway. |
| 2271 | |
| 2272 | .. |
| 2273 | |
| 2274 | .. bpo: 25764 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2275 | .. date: 9027 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2276 | .. nonce: 7WWG07 |
| 2277 | .. section: Library |
| 2278 | |
| 2279 | In the subprocess module, preserve any exception caused by fork() failure |
| 2280 | when preexec_fn is used. |
| 2281 | |
| 2282 | .. |
| 2283 | |
| 2284 | .. bpo: 25771 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2285 | .. date: 9026 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2286 | .. nonce: It-7Qf |
| 2287 | .. section: Library |
| 2288 | |
| 2289 | Tweak the exception message for importlib.util.resolve_name() when 'package' |
| 2290 | isn't specified but necessary. |
| 2291 | |
| 2292 | .. |
| 2293 | |
| 2294 | .. bpo: 6478 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2295 | .. date: 9025 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2296 | .. nonce: -Bi9Hb |
| 2297 | .. section: Library |
| 2298 | |
| 2299 | _strptime's regexp cache now is reset after changing timezone with |
| 2300 | time.tzset(). |
| 2301 | |
| 2302 | .. |
| 2303 | |
| 2304 | .. bpo: 14285 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2305 | .. date: 9024 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2306 | .. nonce: UyG8Hj |
| 2307 | .. section: Library |
| 2308 | |
| 2309 | When executing a package with the "python -m package" option, and package |
| 2310 | initialization fails, a proper traceback is now reported. The "runpy" |
| 2311 | module now lets exceptions from package initialization pass back to the |
| 2312 | caller, rather than raising ImportError. |
| 2313 | |
| 2314 | .. |
| 2315 | |
| 2316 | .. bpo: 19771 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2317 | .. date: 9023 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2318 | .. nonce: 5NG-bg |
| 2319 | .. section: Library |
| 2320 | |
| 2321 | Also in runpy and the "-m" option, omit the irrelevant message ". . . is a |
| 2322 | package and cannot be directly executed" if the package could not even be |
| 2323 | initialized (e.g. due to a bad ``*.pyc`` file). |
| 2324 | |
| 2325 | .. |
| 2326 | |
| 2327 | .. bpo: 25177 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2328 | .. date: 9022 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2329 | .. nonce: aNR4Ha |
| 2330 | .. section: Library |
| 2331 | |
| 2332 | Fixed problem with the mean of very small and very large numbers. As a side |
| 2333 | effect, statistics.mean and statistics.variance should be significantly |
| 2334 | faster. |
| 2335 | |
| 2336 | .. |
| 2337 | |
| 2338 | .. bpo: 25718 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2339 | .. date: 9021 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2340 | .. nonce: D9mHZF |
| 2341 | .. section: Library |
| 2342 | |
| 2343 | Fixed copying object with state with boolean value is false. |
| 2344 | |
| 2345 | .. |
| 2346 | |
| 2347 | .. bpo: 10131 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2348 | .. date: 9020 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2349 | .. nonce: a7tptz |
| 2350 | .. section: Library |
| 2351 | |
| 2352 | Fixed deep copying of minidom documents. Based on patch by Marian Ganisin. |
| 2353 | |
| 2354 | .. |
| 2355 | |
| 2356 | .. bpo: 7990 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2357 | .. date: 9019 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2358 | .. nonce: fpvQxH |
| 2359 | .. section: Library |
| 2360 | |
| 2361 | dir() on ElementTree.Element now lists properties: "tag", "text", "tail" and |
| 2362 | "attrib". Original patch by Santoso Wijaya. |
| 2363 | |
| 2364 | .. |
| 2365 | |
| 2366 | .. bpo: 25725 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2367 | .. date: 9018 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2368 | .. nonce: XIKv3R |
| 2369 | .. section: Library |
| 2370 | |
| 2371 | Fixed a reference leak in pickle.loads() when unpickling invalid data |
| 2372 | including tuple instructions. |
| 2373 | |
| 2374 | .. |
| 2375 | |
| 2376 | .. bpo: 25663 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2377 | .. date: 9017 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2378 | .. nonce: Ofwfqa |
| 2379 | .. section: Library |
| 2380 | |
| 2381 | In the Readline completer, avoid listing duplicate global names, and search |
| 2382 | the global namespace before searching builtins. |
| 2383 | |
| 2384 | .. |
| 2385 | |
| 2386 | .. bpo: 25688 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2387 | .. date: 9016 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2388 | .. nonce: 8P1HOv |
| 2389 | .. section: Library |
| 2390 | |
| 2391 | Fixed file leak in ElementTree.iterparse() raising an error. |
| 2392 | |
| 2393 | .. |
| 2394 | |
| 2395 | .. bpo: 23914 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2396 | .. date: 9015 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2397 | .. nonce: 1sEz4J |
| 2398 | .. section: Library |
| 2399 | |
| 2400 | Fixed SystemError raised by unpickler on broken pickle data. |
| 2401 | |
| 2402 | .. |
| 2403 | |
| 2404 | .. bpo: 25691 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2405 | .. date: 9014 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2406 | .. nonce: ZEaapY |
| 2407 | .. section: Library |
| 2408 | |
| 2409 | Fixed crash on deleting ElementTree.Element attributes. |
| 2410 | |
| 2411 | .. |
| 2412 | |
| 2413 | .. bpo: 25624 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2414 | .. date: 9013 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2415 | .. nonce: ed-fM0 |
| 2416 | .. section: Library |
| 2417 | |
| 2418 | ZipFile now always writes a ZIP_STORED header for directory entries. Patch |
| 2419 | by Dingyuan Wang. |
| 2420 | |
| 2421 | .. |
| 2422 | |
| 2423 | .. bpo: 25626 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2424 | .. date: 9012 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2425 | .. nonce: TQ3fvb |
| 2426 | .. section: Library |
| 2427 | |
| 2428 | Change three zlib functions to accept sizes that fit in Py_ssize_t, but |
| 2429 | internally cap those sizes to UINT_MAX. This resolves a regression in 3.5 |
| 2430 | where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The |
| 2431 | change affects the zlib.Decompress.decompress() max_length parameter, the |
| 2432 | zlib.decompress() bufsize parameter, and the zlib.Decompress.flush() length |
| 2433 | parameter. |
| 2434 | |
| 2435 | .. |
| 2436 | |
| 2437 | .. bpo: 25583 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2438 | .. date: 9011 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2439 | .. nonce: Gk-cim |
| 2440 | .. section: Library |
| 2441 | |
| 2442 | Avoid incorrect errors raised by os.makedirs(exist_ok=True) when the OS |
| 2443 | gives priority to errors such as EACCES over EEXIST. |
| 2444 | |
| 2445 | .. |
| 2446 | |
| 2447 | .. bpo: 25593 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2448 | .. date: 9010 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2449 | .. nonce: 56uegI |
| 2450 | .. section: Library |
| 2451 | |
| 2452 | Change semantics of EventLoop.stop() in asyncio. |
| 2453 | |
| 2454 | .. |
| 2455 | |
| 2456 | .. bpo: 6973 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2457 | .. date: 9009 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2458 | .. nonce: nl5cHt |
| 2459 | .. section: Library |
| 2460 | |
| 2461 | When we know a subprocess.Popen process has died, do not allow the |
| 2462 | send_signal(), terminate(), or kill() methods to do anything as they could |
| 2463 | potentially signal a different process. |
| 2464 | |
| 2465 | .. |
| 2466 | |
| 2467 | .. bpo: 23883 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2468 | .. date: 9008 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2469 | .. nonce: OQS5sS |
| 2470 | .. section: Library |
| 2471 | |
| 2472 | Added missing APIs to __all__ to match the documented APIs for the following |
| 2473 | modules: calendar, csv, enum, fileinput, ftplib, logging, optparse, tarfile, |
| 2474 | threading and wave. Also added a test.support.check__all__() helper. |
| 2475 | Patches by Jacek Kołodziej, Mauro S. M. Rodrigues and Joel Taddei. |
| 2476 | |
| 2477 | .. |
| 2478 | |
| 2479 | .. bpo: 25590 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2480 | .. date: 9007 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2481 | .. nonce: KPcnfv |
| 2482 | .. section: Library |
| 2483 | |
| 2484 | In the Readline completer, only call getattr() once per attribute. Also |
| 2485 | complete names of attributes such as properties and slots which are listed |
| 2486 | by dir() but not yet created on an instance. |
| 2487 | |
| 2488 | .. |
| 2489 | |
| 2490 | .. bpo: 25498 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2491 | .. date: 9006 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2492 | .. nonce: AvqEBl |
| 2493 | .. section: Library |
| 2494 | |
| 2495 | Fix a crash when garbage-collecting ctypes objects created by wrapping a |
| 2496 | memoryview. This was a regression made in 3.5a1. Based on patch by |
| 2497 | Eryksun. |
| 2498 | |
| 2499 | .. |
| 2500 | |
| 2501 | .. bpo: 25584 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2502 | .. date: 9005 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2503 | .. nonce: 124mYw |
| 2504 | .. section: Library |
| 2505 | |
| 2506 | Added "escape" to the __all__ list in the glob module. |
| 2507 | |
| 2508 | .. |
| 2509 | |
| 2510 | .. bpo: 25584 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2511 | .. date: 9004 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2512 | .. nonce: ZeWX0J |
| 2513 | .. section: Library |
| 2514 | |
| 2515 | Fixed recursive glob() with patterns starting with ``**``. |
| 2516 | |
| 2517 | .. |
| 2518 | |
| 2519 | .. bpo: 25446 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2520 | .. date: 9003 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2521 | .. nonce: k1DByx |
| 2522 | .. section: Library |
| 2523 | |
| 2524 | Fix regression in smtplib's AUTH LOGIN support. |
| 2525 | |
| 2526 | .. |
| 2527 | |
| 2528 | .. bpo: 18010 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2529 | .. date: 9002 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2530 | .. nonce: Azyf1C |
| 2531 | .. section: Library |
| 2532 | |
| 2533 | Fix the pydoc web server's module search function to handle exceptions from |
| 2534 | importing packages. |
| 2535 | |
| 2536 | .. |
| 2537 | |
| 2538 | .. bpo: 25554 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2539 | .. date: 9001 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2540 | .. nonce: UM9MlR |
| 2541 | .. section: Library |
| 2542 | |
| 2543 | Got rid of circular references in regular expression parsing. |
| 2544 | |
| 2545 | .. |
| 2546 | |
| 2547 | .. bpo: 18973 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2548 | .. date: 9000 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2549 | .. nonce: Am9jFL |
| 2550 | .. section: Library |
| 2551 | |
| 2552 | Command-line interface of the calendar module now uses argparse instead of |
| 2553 | optparse. |
| 2554 | |
| 2555 | .. |
| 2556 | |
| 2557 | .. bpo: 25510 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2558 | .. date: 8999 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2559 | .. nonce: 79g7LA |
| 2560 | .. section: Library |
| 2561 | |
| 2562 | fileinput.FileInput.readline() now returns b'' instead of '' at the end if |
| 2563 | the FileInput was opened with binary mode. Patch by Ryosuke Ito. |
| 2564 | |
| 2565 | .. |
| 2566 | |
| 2567 | .. bpo: 25503 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2568 | .. date: 8998 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2569 | .. nonce: Zea0Y7 |
| 2570 | .. section: Library |
| 2571 | |
| 2572 | Fixed inspect.getdoc() for inherited docstrings of properties. Original |
| 2573 | patch by John Mark Vandenberg. |
| 2574 | |
| 2575 | .. |
| 2576 | |
| 2577 | .. bpo: 25515 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2578 | .. date: 8997 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2579 | .. nonce: fQsyYG |
| 2580 | .. section: Library |
| 2581 | |
| 2582 | Always use os.urandom as a source of randomness in uuid.uuid4. |
| 2583 | |
| 2584 | .. |
| 2585 | |
| 2586 | .. bpo: 21827 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2587 | .. date: 8996 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2588 | .. nonce: k2oreR |
| 2589 | .. section: Library |
| 2590 | |
| 2591 | Fixed textwrap.dedent() for the case when largest common whitespace is a |
| 2592 | substring of smallest leading whitespace. Based on patch by Robert Li. |
| 2593 | |
| 2594 | .. |
| 2595 | |
| 2596 | .. bpo: 25447 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2597 | .. date: 8995 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2598 | .. nonce: eDYc4t |
| 2599 | .. section: Library |
| 2600 | |
| 2601 | The lru_cache() wrapper objects now can be copied and pickled (by returning |
| 2602 | the original object unchanged). |
| 2603 | |
| 2604 | .. |
| 2605 | |
| 2606 | .. bpo: 25390 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2607 | .. date: 8994 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2608 | .. nonce: 6mSgRq |
| 2609 | .. section: Library |
| 2610 | |
| 2611 | typing: Don't crash on Union[str, Pattern]. |
| 2612 | |
| 2613 | .. |
| 2614 | |
| 2615 | .. bpo: 25441 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2616 | .. date: 8993 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2617 | .. nonce: d7zph6 |
| 2618 | .. section: Library |
| 2619 | |
| 2620 | asyncio: Raise error from drain() when socket is closed. |
| 2621 | |
| 2622 | .. |
| 2623 | |
| 2624 | .. bpo: 25410 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2625 | .. date: 8992 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2626 | .. nonce: QAs_3B |
| 2627 | .. section: Library |
| 2628 | |
| 2629 | Cleaned up and fixed minor bugs in C implementation of OrderedDict. |
| 2630 | |
| 2631 | .. |
| 2632 | |
| 2633 | .. bpo: 25411 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2634 | .. date: 8991 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2635 | .. nonce: qsJTCb |
| 2636 | .. section: Library |
| 2637 | |
| 2638 | Improved Unicode support in SMTPHandler through better use of the email |
| 2639 | package. Thanks to user simon04 for the patch. |
| 2640 | |
| 2641 | .. |
| 2642 | |
| 2643 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2644 | .. date: 8990 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2645 | .. nonce: pFHJ0i |
| 2646 | .. section: Library |
| 2647 | |
| 2648 | Move the imp module from a PendingDeprecationWarning to DeprecationWarning. |
| 2649 | |
| 2650 | .. |
| 2651 | |
| 2652 | .. bpo: 25407 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2653 | .. date: 8989 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2654 | .. nonce: ukNt1D |
| 2655 | .. section: Library |
| 2656 | |
| 2657 | Remove mentions of the formatter module being removed in Python 3.6. |
| 2658 | |
| 2659 | .. |
| 2660 | |
| 2661 | .. bpo: 25406 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2662 | .. date: 8988 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2663 | .. nonce: 5MZKU_ |
| 2664 | .. section: Library |
| 2665 | |
| 2666 | Fixed a bug in C implementation of OrderedDict.move_to_end() that caused |
| 2667 | segmentation fault or hang in iterating after moving several items to the |
| 2668 | start of ordered dict. |
| 2669 | |
| 2670 | .. |
| 2671 | |
| 2672 | .. bpo: 25382 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2673 | .. date: 8987 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2674 | .. nonce: XQ44yE |
| 2675 | .. section: Library |
| 2676 | |
| 2677 | pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode. |
| 2678 | |
| 2679 | .. |
| 2680 | |
| 2681 | .. bpo: 25357 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2682 | .. date: 8986 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2683 | .. nonce: ebqGy- |
| 2684 | .. section: Library |
| 2685 | |
Stéphane Wirtel | 683281f | 2018-10-06 16:35:53 +0200 | [diff] [blame] | 2686 | Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode() |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2687 | uses it to avoid a memory copy. |
| 2688 | |
| 2689 | .. |
| 2690 | |
| 2691 | .. bpo: 24164 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2692 | .. date: 8985 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2693 | .. nonce: oi6H3E |
| 2694 | .. section: Library |
| 2695 | |
| 2696 | Objects that need calling ``__new__`` with keyword arguments, can now be |
| 2697 | pickled using pickle protocols older than protocol version 4. |
| 2698 | |
| 2699 | .. |
| 2700 | |
| 2701 | .. bpo: 25364 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2702 | .. date: 8984 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2703 | .. nonce: u_1Wi6 |
| 2704 | .. section: Library |
| 2705 | |
| 2706 | zipfile now works in threads disabled builds. |
| 2707 | |
| 2708 | .. |
| 2709 | |
| 2710 | .. bpo: 25328 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2711 | .. date: 8983 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2712 | .. nonce: Rja1Xg |
| 2713 | .. section: Library |
| 2714 | |
| 2715 | smtpd's SMTPChannel now correctly raises a ValueError if both decode_data |
| 2716 | and enable_SMTPUTF8 are set to true. |
| 2717 | |
| 2718 | .. |
| 2719 | |
| 2720 | .. bpo: 16099 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2721 | .. date: 8982 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2722 | .. nonce: _MTt3k |
| 2723 | .. section: Library |
| 2724 | |
| 2725 | RobotFileParser now supports Crawl-delay and Request-rate extensions. Patch |
| 2726 | by Nikolay Bogoychev. |
| 2727 | |
| 2728 | .. |
| 2729 | |
| 2730 | .. bpo: 25316 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2731 | .. date: 8981 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2732 | .. nonce: dHQHWI |
| 2733 | .. section: Library |
| 2734 | |
| 2735 | distutils raises OSError instead of DistutilsPlatformError when MSVC is not |
| 2736 | installed. |
| 2737 | |
| 2738 | .. |
| 2739 | |
| 2740 | .. bpo: 25380 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2741 | .. date: 8980 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2742 | .. nonce: sKZ6-I |
| 2743 | .. section: Library |
| 2744 | |
| 2745 | Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes. |
| 2746 | |
| 2747 | .. |
| 2748 | |
| 2749 | .. bpo: 23972 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2750 | .. date: 8979 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2751 | .. nonce: s2g30g |
| 2752 | .. section: Library |
| 2753 | |
| 2754 | Updates asyncio datagram create method allowing reuseport and reuseaddr |
| 2755 | socket options to be set prior to binding the socket. Mirroring the existing |
| 2756 | asyncio create_server method the reuseaddr option for datagram sockets |
| 2757 | defaults to True if the O/S is 'posix' (except if the platform is Cygwin). |
| 2758 | Patch by Chris Laws. |
| 2759 | |
| 2760 | .. |
| 2761 | |
| 2762 | .. bpo: 25304 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2763 | .. date: 8978 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2764 | .. nonce: CsmLyI |
| 2765 | .. section: Library |
| 2766 | |
| 2767 | Add asyncio.run_coroutine_threadsafe(). This lets you submit a coroutine to |
| 2768 | a loop from another thread, returning a concurrent.futures.Future. By |
| 2769 | Vincent Michel. |
| 2770 | |
| 2771 | .. |
| 2772 | |
| 2773 | .. bpo: 25232 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2774 | .. date: 8977 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2775 | .. nonce: KhKjCE |
| 2776 | .. section: Library |
| 2777 | |
| 2778 | Fix CGIRequestHandler to split the query from the URL at the first question |
| 2779 | mark (?) rather than the last. Patch from Xiang Zhang. |
| 2780 | |
| 2781 | .. |
| 2782 | |
| 2783 | .. bpo: 24657 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2784 | .. date: 8976 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2785 | .. nonce: h2Ag7y |
| 2786 | .. section: Library |
| 2787 | |
| 2788 | Prevent CGIRequestHandler from collapsing slashes in the query part of the |
| 2789 | URL as if it were a path. Patch from Xiang Zhang. |
| 2790 | |
| 2791 | .. |
| 2792 | |
| 2793 | .. bpo: 25287 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2794 | .. date: 8975 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2795 | .. nonce: KhzzMW |
| 2796 | .. section: Library |
| 2797 | |
| 2798 | Don't add crypt.METHOD_CRYPT to crypt.methods if it's not supported. Check |
| 2799 | if it is supported, it may not be supported on OpenBSD for example. |
| 2800 | |
| 2801 | .. |
| 2802 | |
| 2803 | .. bpo: 23600 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2804 | .. date: 8974 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2805 | .. nonce: 7J_RD5 |
| 2806 | .. section: Library |
| 2807 | |
| 2808 | Default implementation of tzinfo.fromutc() was returning wrong results in |
| 2809 | some cases. |
| 2810 | |
| 2811 | .. |
| 2812 | |
| 2813 | .. bpo: 25203 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2814 | .. date: 8973 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2815 | .. nonce: IgDEbt |
| 2816 | .. section: Library |
| 2817 | |
| 2818 | Failed readline.set_completer_delims() no longer left the module in |
| 2819 | inconsistent state. |
| 2820 | |
| 2821 | .. |
| 2822 | |
| 2823 | .. bpo: 25011 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2824 | .. date: 8972 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2825 | .. nonce: VcaCd6 |
| 2826 | .. section: Library |
| 2827 | |
| 2828 | rlcompleter now omits private and special attribute names unless the prefix |
| 2829 | starts with underscores. |
| 2830 | |
| 2831 | .. |
| 2832 | |
| 2833 | .. bpo: 25209 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2834 | .. date: 8971 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2835 | .. nonce: WxKcdJ |
| 2836 | .. section: Library |
| 2837 | |
| 2838 | rlcompleter now can add a space or a colon after completed keyword. |
| 2839 | |
| 2840 | .. |
| 2841 | |
| 2842 | .. bpo: 22241 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2843 | .. date: 8970 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2844 | .. nonce: a-Mtw2 |
| 2845 | .. section: Library |
| 2846 | |
| 2847 | timezone.utc name is now plain 'UTC', not 'UTC-00:00'. |
| 2848 | |
| 2849 | .. |
| 2850 | |
| 2851 | .. bpo: 23517 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2852 | .. date: 8969 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2853 | .. nonce: 0ABp8q |
| 2854 | .. section: Library |
| 2855 | |
| 2856 | fromtimestamp() and utcfromtimestamp() methods of datetime.datetime now |
| 2857 | round microseconds to nearest with ties going to nearest even integer |
| 2858 | (ROUND_HALF_EVEN), as round(float), instead of rounding towards -Infinity |
| 2859 | (ROUND_FLOOR). |
| 2860 | |
| 2861 | .. |
| 2862 | |
| 2863 | .. bpo: 23552 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2864 | .. date: 8968 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2865 | .. nonce: I0T-M- |
| 2866 | .. section: Library |
| 2867 | |
| 2868 | Timeit now warns when there is substantial (4x) variance between best and |
| 2869 | worst times. Patch from Serhiy Storchaka. |
| 2870 | |
| 2871 | .. |
| 2872 | |
| 2873 | .. bpo: 24633 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2874 | .. date: 8967 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2875 | .. nonce: 6Unn9B |
| 2876 | .. section: Library |
| 2877 | |
| 2878 | site-packages/README -> README.txt. |
| 2879 | |
| 2880 | .. |
| 2881 | |
| 2882 | .. bpo: 24879 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2883 | .. date: 8966 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2884 | .. nonce: YUzg_z |
| 2885 | .. section: Library |
| 2886 | |
| 2887 | help() and pydoc can now list named tuple fields in the order they were |
| 2888 | defined rather than alphabetically. The ordering is determined by the |
| 2889 | _fields attribute if present. |
| 2890 | |
| 2891 | .. |
| 2892 | |
| 2893 | .. bpo: 24874 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2894 | .. date: 8965 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2895 | .. nonce: luBfgA |
| 2896 | .. section: Library |
| 2897 | |
| 2898 | Improve speed of itertools.cycle() and make its pickle more compact. |
| 2899 | |
| 2900 | .. |
| 2901 | |
| 2902 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2903 | .. date: 8964 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2904 | .. nonce: mD-_3v |
| 2905 | .. section: Library |
| 2906 | |
| 2907 | Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a |
| 2908 | list. |
| 2909 | |
| 2910 | .. |
| 2911 | |
| 2912 | .. bpo: 20059 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2913 | .. date: 8963 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2914 | .. nonce: SHv0Ji |
| 2915 | .. section: Library |
| 2916 | |
| 2917 | urllib.parse raises ValueError on all invalid ports. Patch by Martin Panter. |
| 2918 | |
| 2919 | .. |
| 2920 | |
| 2921 | .. bpo: 24360 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2922 | .. date: 8962 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2923 | .. nonce: 5RwH-e |
| 2924 | .. section: Library |
| 2925 | |
| 2926 | Improve __repr__ of argparse.Namespace() for invalid identifiers. Patch by |
| 2927 | Matthias Bussonnier. |
| 2928 | |
| 2929 | .. |
| 2930 | |
| 2931 | .. bpo: 23426 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2932 | .. date: 8961 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2933 | .. nonce: PUV-Cx |
| 2934 | .. section: Library |
| 2935 | |
| 2936 | run_setup was broken in distutils. Patch from Alexander Belopolsky. |
| 2937 | |
| 2938 | .. |
| 2939 | |
| 2940 | .. bpo: 13938 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2941 | .. date: 8960 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2942 | .. nonce: e5NSE1 |
| 2943 | .. section: Library |
| 2944 | |
| 2945 | 2to3 converts StringTypes to a tuple. Patch from Mark Hammond. |
| 2946 | |
| 2947 | .. |
| 2948 | |
| 2949 | .. bpo: 2091 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2950 | .. date: 8959 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2951 | .. nonce: bp56pO |
| 2952 | .. section: Library |
| 2953 | |
| 2954 | open() accepted a 'U' mode string containing '+', but 'U' can only be used |
| 2955 | with 'r'. Patch from Jeff Balogh and John O'Connor. |
| 2956 | |
| 2957 | .. |
| 2958 | |
| 2959 | .. bpo: 8585 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2960 | .. date: 8958 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2961 | .. nonce: 78hPc2 |
| 2962 | .. section: Library |
| 2963 | |
| 2964 | improved tests for zipimporter2. Patch from Mark Lawrence. |
| 2965 | |
| 2966 | .. |
| 2967 | |
| 2968 | .. bpo: 18622 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2969 | .. date: 8957 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2970 | .. nonce: i6nCCW |
| 2971 | .. section: Library |
| 2972 | |
| 2973 | unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from |
| 2974 | Nicola Palumbo and Laurent De Buyst. |
| 2975 | |
| 2976 | .. |
| 2977 | |
| 2978 | .. bpo: 24426 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2979 | .. date: 8956 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2980 | .. nonce: yCtQfT |
| 2981 | .. section: Library |
| 2982 | |
| 2983 | Fast searching optimization in regular expressions now works for patterns |
| 2984 | that starts with capturing groups. Fast searching optimization now can't be |
| 2985 | disabled at compile time. |
| 2986 | |
| 2987 | .. |
| 2988 | |
| 2989 | .. bpo: 23661 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 2990 | .. date: 8955 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 2991 | .. nonce: 5VHJmh |
| 2992 | .. section: Library |
| 2993 | |
| 2994 | unittest.mock side_effects can now be exceptions again. This was a |
| 2995 | regression vs Python 3.4. Patch from Ignacio Rossi |
| 2996 | |
| 2997 | .. |
| 2998 | |
| 2999 | .. bpo: 13248 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3000 | .. date: 8954 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3001 | .. nonce: SA2hvu |
| 3002 | .. section: Library |
| 3003 | |
| 3004 | Remove deprecated inspect.getmoduleinfo function. |
| 3005 | |
| 3006 | .. |
| 3007 | |
| 3008 | .. bpo: 25578 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3009 | .. date: 8953 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3010 | .. nonce: G6S-ft |
| 3011 | .. section: Library |
| 3012 | |
| 3013 | Fix (another) memory leak in SSLSocket.getpeercer(). |
| 3014 | |
| 3015 | .. |
| 3016 | |
| 3017 | .. bpo: 25530 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3018 | .. date: 8952 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3019 | .. nonce: hDFkwu |
| 3020 | .. section: Library |
| 3021 | |
| 3022 | Disable the vulnerable SSLv3 protocol by default when creating |
| 3023 | ssl.SSLContext. |
| 3024 | |
| 3025 | .. |
| 3026 | |
| 3027 | .. bpo: 25569 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3028 | .. date: 8951 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3029 | .. nonce: CfvQjK |
| 3030 | .. section: Library |
| 3031 | |
| 3032 | Fix memory leak in SSLSocket.getpeercert(). |
| 3033 | |
| 3034 | .. |
| 3035 | |
| 3036 | .. bpo: 25471 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3037 | .. date: 8950 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3038 | .. nonce: T0A02M |
| 3039 | .. section: Library |
| 3040 | |
| 3041 | Sockets returned from accept() shouldn't appear to be nonblocking. |
| 3042 | |
| 3043 | .. |
| 3044 | |
| 3045 | .. bpo: 25319 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3046 | .. date: 8949 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3047 | .. nonce: iyuglv |
| 3048 | .. section: Library |
| 3049 | |
| 3050 | When threading.Event is reinitialized, the underlying condition should use a |
| 3051 | regular lock rather than a recursive lock. |
| 3052 | |
| 3053 | .. |
| 3054 | |
| 3055 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3056 | .. date: 8948 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3057 | .. nonce: rtZyid |
| 3058 | .. section: Library |
| 3059 | |
| 3060 | Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis. |
| 3061 | |
| 3062 | .. |
| 3063 | |
| 3064 | .. bpo: 26050 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3065 | .. date: 8947 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3066 | .. nonce: sclyvk |
| 3067 | .. section: Library |
| 3068 | |
| 3069 | Add asyncio.StreamReader.readuntil() method. Patch by Марк Коренберг. |
| 3070 | |
| 3071 | .. |
| 3072 | |
| 3073 | .. bpo: 25924 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3074 | .. date: 8946 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3075 | .. nonce: Uxr2vt |
| 3076 | .. section: Library |
| 3077 | |
| 3078 | Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions |
| 3079 | 10.5 or higher. Original patch by A. Jesse Jiryu Davis. |
| 3080 | |
| 3081 | .. |
| 3082 | |
| 3083 | .. bpo: 26406 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3084 | .. date: 8945 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3085 | .. nonce: ihvhF4 |
| 3086 | .. section: Library |
| 3087 | |
| 3088 | Avoid unnecessary serialization of getaddrinfo(3) calls on current versions |
| 3089 | of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis. |
| 3090 | |
| 3091 | .. |
| 3092 | |
| 3093 | .. bpo: 26848 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3094 | .. date: 8944 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3095 | .. nonce: ChBOpQ |
| 3096 | .. section: Library |
| 3097 | |
| 3098 | Fix asyncio/subprocess.communicate() to handle empty input. Patch by Jack |
| 3099 | O'Connor. |
| 3100 | |
| 3101 | .. |
| 3102 | |
| 3103 | .. bpo: 27040 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3104 | .. date: 8943 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3105 | .. nonce: UASyCC |
| 3106 | .. section: Library |
| 3107 | |
| 3108 | Add loop.get_exception_handler method |
| 3109 | |
| 3110 | .. |
| 3111 | |
| 3112 | .. bpo: 27041 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3113 | .. date: 8942 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3114 | .. nonce: p3893U |
| 3115 | .. section: Library |
| 3116 | |
| 3117 | asyncio: Add loop.create_future method |
| 3118 | |
| 3119 | .. |
| 3120 | |
| 3121 | .. bpo: 20640 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3122 | .. date: 8941 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3123 | .. nonce: PmI-G8 |
| 3124 | .. section: IDLE |
| 3125 | |
| 3126 | Add tests for idlelib.configHelpSourceEdit. Patch by Saimadhav Heblikar. |
| 3127 | |
| 3128 | .. |
| 3129 | |
| 3130 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3131 | .. date: 8940 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3132 | .. nonce: _YJfG7 |
| 3133 | .. section: IDLE |
| 3134 | |
| 3135 | In the 'IDLE-console differences' section of the IDLE doc, clarify how |
| 3136 | running with IDLE affects sys.modules and the standard streams. |
| 3137 | |
| 3138 | .. |
| 3139 | |
| 3140 | .. bpo: 25507 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3141 | .. date: 8939 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3142 | .. nonce: i8bNpk |
| 3143 | .. section: IDLE |
| 3144 | |
| 3145 | fix incorrect change in IOBinding that prevented printing. Augment IOBinding |
| 3146 | htest to include all major IOBinding functions. |
| 3147 | |
| 3148 | .. |
| 3149 | |
| 3150 | .. bpo: 25905 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3151 | .. date: 8938 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3152 | .. nonce: FzNb3B |
| 3153 | .. section: IDLE |
| 3154 | |
| 3155 | Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in |
| 3156 | README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to |
| 3157 | utf-8 and open it with 'utf-8'. |
| 3158 | |
| 3159 | .. |
| 3160 | |
| 3161 | .. bpo: 15348 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3162 | .. date: 8937 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3163 | .. nonce: d1Fg01 |
| 3164 | .. section: IDLE |
| 3165 | |
| 3166 | Stop the debugger engine (normally in a user process) before closing the |
| 3167 | debugger window (running in the IDLE process). This prevents the |
| 3168 | RuntimeErrors that were being caught and ignored. |
| 3169 | |
| 3170 | .. |
| 3171 | |
| 3172 | .. bpo: 24455 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3173 | .. date: 8936 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3174 | .. nonce: x6YqtE |
| 3175 | .. section: IDLE |
| 3176 | |
| 3177 | Prevent IDLE from hanging when a) closing the shell while the debugger is |
| 3178 | active (15347); b) closing the debugger with the [X] button (15348); and c) |
| 3179 | activating the debugger when already active (24455). The patch by Mark |
| 3180 | Roseman does this by making two changes. 1. Suspend and resume the |
| 3181 | gui.interaction method with the tcl vwait mechanism intended for this |
| 3182 | purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any |
| 3183 | existing interaction to terminate first. |
| 3184 | |
| 3185 | .. |
| 3186 | |
| 3187 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3188 | .. date: 8935 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3189 | .. nonce: Yp9LRY |
| 3190 | .. section: IDLE |
| 3191 | |
| 3192 | Change 'The program' to 'Your program' in an IDLE 'kill program?' message to |
| 3193 | make it clearer that the program referred to is the currently running user |
| 3194 | program, not IDLE itself. |
| 3195 | |
| 3196 | .. |
| 3197 | |
| 3198 | .. bpo: 24750 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3199 | .. date: 8934 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3200 | .. nonce: xgsi-K |
| 3201 | .. section: IDLE |
| 3202 | |
| 3203 | Improve the appearance of the IDLE editor window status bar. Patch by Mark |
| 3204 | Roseman. |
| 3205 | |
| 3206 | .. |
| 3207 | |
| 3208 | .. bpo: 25313 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3209 | .. date: 8933 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3210 | .. nonce: xMXHpO |
| 3211 | .. section: IDLE |
| 3212 | |
| 3213 | Change the handling of new built-in text color themes to better address the |
| 3214 | compatibility problem introduced by the addition of IDLE Dark. Consistently |
| 3215 | use the revised idleConf.CurrentTheme everywhere in idlelib. |
| 3216 | |
| 3217 | .. |
| 3218 | |
| 3219 | .. bpo: 24782 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3220 | .. date: 8932 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3221 | .. nonce: RgIPYE |
| 3222 | .. section: IDLE |
| 3223 | |
| 3224 | Extension configuration is now a tab in the IDLE Preferences dialog rather |
| 3225 | than a separate dialog. The former tabs are now a sorted list. Patch by |
| 3226 | Mark Roseman. |
| 3227 | |
| 3228 | .. |
| 3229 | |
| 3230 | .. bpo: 22726 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3231 | .. date: 8931 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3232 | .. nonce: x8T0dA |
| 3233 | .. section: IDLE |
| 3234 | |
| 3235 | Re-activate the config dialog help button with some content about the other |
| 3236 | buttons and the new IDLE Dark theme. |
| 3237 | |
| 3238 | .. |
| 3239 | |
| 3240 | .. bpo: 24820 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3241 | .. date: 8930 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3242 | .. nonce: TFPJhr |
| 3243 | .. section: IDLE |
| 3244 | |
| 3245 | IDLE now has an 'IDLE Dark' built-in text color theme. It is more or less |
| 3246 | IDLE Classic inverted, with a cobalt blue background. Strings, comments, |
| 3247 | keywords, ... are still green, red, orange, ... . To use it with IDLEs |
| 3248 | released before November 2015, hit the 'Save as New Custom Theme' button and |
| 3249 | enter a new name, such as 'Custom Dark'. The custom theme will work with |
| 3250 | any IDLE release, and can be modified. |
| 3251 | |
| 3252 | .. |
| 3253 | |
| 3254 | .. bpo: 25224 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3255 | .. date: 8929 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3256 | .. nonce: 5Llwo4 |
| 3257 | .. section: IDLE |
| 3258 | |
| 3259 | README.txt is now an idlelib index for IDLE developers and curious users. |
| 3260 | The previous user content is now in the IDLE doc chapter. 'IDLE' now means |
| 3261 | 'Integrated Development and Learning Environment'. |
| 3262 | |
| 3263 | .. |
| 3264 | |
| 3265 | .. bpo: 24820 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3266 | .. date: 8928 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3267 | .. nonce: ZUz9Fn |
| 3268 | .. section: IDLE |
| 3269 | |
| 3270 | Users can now set breakpoint colors in Settings -> Custom Highlighting. |
| 3271 | Original patch by Mark Roseman. |
| 3272 | |
| 3273 | .. |
| 3274 | |
| 3275 | .. bpo: 24972 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3276 | .. date: 8927 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3277 | .. nonce: uc0uNo |
| 3278 | .. section: IDLE |
| 3279 | |
| 3280 | Inactive selection background now matches active selection background, as |
| 3281 | configured by users, on all systems. Found items are now always highlighted |
| 3282 | on Windows. Initial patch by Mark Roseman. |
| 3283 | |
| 3284 | .. |
| 3285 | |
| 3286 | .. bpo: 24570 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3287 | .. date: 8926 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3288 | .. nonce: s3EkNn |
| 3289 | .. section: IDLE |
| 3290 | |
| 3291 | Idle: make calltip and completion boxes appear on Macs affected by a tk |
| 3292 | regression. Initial patch by Mark Roseman. |
| 3293 | |
| 3294 | .. |
| 3295 | |
| 3296 | .. bpo: 24988 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3297 | .. date: 8925 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3298 | .. nonce: tXqq4T |
| 3299 | .. section: IDLE |
| 3300 | |
| 3301 | Idle ScrolledList context menus (used in debugger) now work on Mac Aqua. |
| 3302 | Patch by Mark Roseman. |
| 3303 | |
| 3304 | .. |
| 3305 | |
| 3306 | .. bpo: 24801 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3307 | .. date: 8924 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3308 | .. nonce: -bj_Ou |
| 3309 | .. section: IDLE |
| 3310 | |
| 3311 | Make right-click for context menu work on Mac Aqua. Patch by Mark Roseman. |
| 3312 | |
| 3313 | .. |
| 3314 | |
| 3315 | .. bpo: 25173 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3316 | .. date: 8923 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3317 | .. nonce: EZzrPg |
| 3318 | .. section: IDLE |
| 3319 | |
| 3320 | Associate tkinter messageboxes with a specific widget. For Mac OSX, make |
| 3321 | them a 'sheet'. Patch by Mark Roseman. |
| 3322 | |
| 3323 | .. |
| 3324 | |
| 3325 | .. bpo: 25198 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3326 | .. date: 8922 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3327 | .. nonce: -j_BV7 |
| 3328 | .. section: IDLE |
| 3329 | |
Serhiy Storchaka | aef639f | 2018-05-21 02:36:05 +0300 | [diff] [blame] | 3330 | Enhance the initial html viewer now used for Idle Help. Properly indent |
| 3331 | fixed-pitch text (patch by Mark Roseman). Give code snippet a very |
| 3332 | Sphinx-like light blueish-gray background. Re-use initial width and height set by |
| 3333 | users for shell and editor. When the Table of Contents (TOC) menu is used, |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3334 | put the section header at the top of the screen. |
| 3335 | |
| 3336 | .. |
| 3337 | |
| 3338 | .. bpo: 25225 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3339 | .. date: 8921 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3340 | .. nonce: 9pvdq6 |
| 3341 | .. section: IDLE |
| 3342 | |
| 3343 | Condense and rewrite Idle doc section on text colors. |
| 3344 | |
| 3345 | .. |
| 3346 | |
| 3347 | .. bpo: 21995 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3348 | .. date: 8920 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3349 | .. nonce: C5Rmzx |
| 3350 | .. section: IDLE |
| 3351 | |
| 3352 | Explain some differences between IDLE and console Python. |
| 3353 | |
| 3354 | .. |
| 3355 | |
| 3356 | .. bpo: 22820 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3357 | .. date: 8919 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3358 | .. nonce: hix_8X |
| 3359 | .. section: IDLE |
| 3360 | |
| 3361 | Explain need for *print* when running file from Idle editor. |
| 3362 | |
| 3363 | .. |
| 3364 | |
| 3365 | .. bpo: 25224 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3366 | .. date: 8918 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3367 | .. nonce: UVMYQq |
| 3368 | .. section: IDLE |
| 3369 | |
| 3370 | Doc: augment Idle feature list and no-subprocess section. |
| 3371 | |
| 3372 | .. |
| 3373 | |
| 3374 | .. bpo: 25219 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3375 | .. date: 8917 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3376 | .. nonce: 8_9DYg |
| 3377 | .. section: IDLE |
| 3378 | |
| 3379 | Update doc for Idle command line options. Some were missing and notes were |
| 3380 | not correct. |
| 3381 | |
| 3382 | .. |
| 3383 | |
| 3384 | .. bpo: 24861 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3385 | .. date: 8916 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3386 | .. nonce: Ecg2yT |
| 3387 | .. section: IDLE |
| 3388 | |
| 3389 | Most of idlelib is private and subject to change. Use idleib.idle.* to start |
| 3390 | Idle. See idlelib.__init__.__doc__. |
| 3391 | |
| 3392 | .. |
| 3393 | |
| 3394 | .. bpo: 25199 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3395 | .. date: 8915 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3396 | .. nonce: ih7yY3 |
| 3397 | .. section: IDLE |
| 3398 | |
| 3399 | Idle: add synchronization comments for future maintainers. |
| 3400 | |
| 3401 | .. |
| 3402 | |
| 3403 | .. bpo: 16893 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3404 | .. date: 8914 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3405 | .. nonce: uIi1oB |
| 3406 | .. section: IDLE |
| 3407 | |
| 3408 | Replace help.txt with help.html for Idle doc display. The new |
| 3409 | idlelib/help.html is rstripped Doc/build/html/library/idle.html. It looks |
| 3410 | better than help.txt and will better document Idle as released. The tkinter |
| 3411 | html viewer that works for this file was written by Rose Roseman. The now |
| 3412 | unused EditorWindow.HelpDialog class and helt.txt file are deprecated. |
| 3413 | |
| 3414 | .. |
| 3415 | |
| 3416 | .. bpo: 24199 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3417 | .. date: 8913 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3418 | .. nonce: VKnZEv |
| 3419 | .. section: IDLE |
| 3420 | |
| 3421 | Deprecate unused idlelib.idlever with possible removal in 3.6. |
| 3422 | |
| 3423 | .. |
| 3424 | |
| 3425 | .. bpo: 24790 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3426 | .. date: 8912 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3427 | .. nonce: hD1hlj |
| 3428 | .. section: IDLE |
| 3429 | |
| 3430 | Remove extraneous code (which also create 2 & 3 conflicts). |
| 3431 | |
| 3432 | .. |
| 3433 | |
| 3434 | .. bpo: 26736 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3435 | .. date: 8911 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3436 | .. nonce: U_Hyqo |
| 3437 | .. section: Documentation |
| 3438 | |
| 3439 | Used HTTPS for external links in the documentation if possible. |
| 3440 | |
| 3441 | .. |
| 3442 | |
| 3443 | .. bpo: 6953 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3444 | .. date: 8910 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3445 | .. nonce: Zk6rno |
| 3446 | .. section: Documentation |
| 3447 | |
| 3448 | Rework the Readline module documentation to group related functions |
| 3449 | together, and add more details such as what underlying Readline functions |
| 3450 | and variables are accessed. |
| 3451 | |
| 3452 | .. |
| 3453 | |
| 3454 | .. bpo: 23606 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3455 | .. date: 8909 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3456 | .. nonce: 9MhIso |
| 3457 | .. section: Documentation |
| 3458 | |
| 3459 | Adds note to ctypes documentation regarding cdll.msvcrt. |
| 3460 | |
| 3461 | .. |
| 3462 | |
| 3463 | .. bpo: 24952 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3464 | .. date: 8908 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3465 | .. nonce: RHhFPE |
| 3466 | .. section: Documentation |
| 3467 | |
| 3468 | Clarify the default size argument of stack_size() in the "threading" and |
| 3469 | "_thread" modules. Patch from Mattip. |
| 3470 | |
| 3471 | .. |
| 3472 | |
| 3473 | .. bpo: 26014 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3474 | .. date: 8907 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3475 | .. nonce: ptdZ_I |
| 3476 | .. section: Documentation |
| 3477 | |
| 3478 | Update 3.x packaging documentation: * "See also" links to the new docs are |
| 3479 | now provided in the legacy pages * links to setuptools documentation have |
| 3480 | been updated |
| 3481 | |
| 3482 | .. |
| 3483 | |
| 3484 | .. bpo: 21916 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3485 | .. date: 8906 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3486 | .. nonce: muwCyp |
| 3487 | .. section: Tests |
| 3488 | |
| 3489 | Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle |
| 3490 | Zijlstra. |
| 3491 | |
| 3492 | .. |
| 3493 | |
| 3494 | .. bpo: 26295 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3495 | .. date: 8905 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3496 | .. nonce: sYBtj5 |
| 3497 | .. section: Tests |
| 3498 | |
| 3499 | When using "python3 -m test --testdir=TESTDIR", regrtest doesn't add "test." |
| 3500 | prefix to test module names. |
| 3501 | |
| 3502 | .. |
| 3503 | |
| 3504 | .. bpo: 26523 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3505 | .. date: 8904 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3506 | .. nonce: em_Uzt |
| 3507 | .. section: Tests |
| 3508 | |
| 3509 | The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested. |
| 3510 | |
| 3511 | .. |
| 3512 | |
| 3513 | .. bpo: 26015 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3514 | .. date: 8903 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3515 | .. nonce: p3oWK3 |
| 3516 | .. section: Tests |
| 3517 | |
| 3518 | Added new tests for pickling iterators of mutable sequences. |
| 3519 | |
| 3520 | .. |
| 3521 | |
| 3522 | .. bpo: 26325 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3523 | .. date: 8902 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3524 | .. nonce: KOUc82 |
| 3525 | .. section: Tests |
| 3526 | |
| 3527 | Added test.support.check_no_resource_warning() to check that no |
| 3528 | ResourceWarning is emitted. |
| 3529 | |
| 3530 | .. |
| 3531 | |
| 3532 | .. bpo: 25940 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3533 | .. date: 8901 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3534 | .. nonce: MvBwSe |
| 3535 | .. section: Tests |
| 3536 | |
| 3537 | Changed test_ssl to use its internal local server more. This avoids relying |
| 3538 | on svn.python.org, which recently changed root certificate. |
| 3539 | |
| 3540 | .. |
| 3541 | |
| 3542 | .. bpo: 25616 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3543 | .. date: 8900 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3544 | .. nonce: Qr-60p |
| 3545 | .. section: Tests |
| 3546 | |
| 3547 | Tests for OrderedDict are extracted from test_collections into separate file |
| 3548 | test_ordered_dict. |
| 3549 | |
| 3550 | .. |
| 3551 | |
| 3552 | .. bpo: 25449 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3553 | .. date: 8899 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3554 | .. nonce: MP6KNs |
| 3555 | .. section: Tests |
| 3556 | |
| 3557 | Added tests for OrderedDict subclasses. |
| 3558 | |
| 3559 | .. |
| 3560 | |
| 3561 | .. bpo: 25188 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3562 | .. date: 8898 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3563 | .. nonce: lnLnIW |
| 3564 | .. section: Tests |
| 3565 | |
| 3566 | Add -P/--pgo to test.regrtest to suppress error output when running the test |
| 3567 | suite for the purposes of a PGO build. Initial patch by Alecsandru Patrascu. |
| 3568 | |
| 3569 | .. |
| 3570 | |
| 3571 | .. bpo: 22806 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3572 | .. date: 8897 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3573 | .. nonce: _QHyyV |
| 3574 | .. section: Tests |
| 3575 | |
| 3576 | Add ``python -m test --list-tests`` command to list tests. |
| 3577 | |
| 3578 | .. |
| 3579 | |
| 3580 | .. bpo: 18174 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3581 | .. date: 8896 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3582 | .. nonce: TzH9d_ |
| 3583 | .. section: Tests |
| 3584 | |
| 3585 | ``python -m test --huntrleaks ...`` now also checks for leak of file |
| 3586 | descriptors. Patch written by Richard Oudkerk. |
| 3587 | |
| 3588 | .. |
| 3589 | |
| 3590 | .. bpo: 25260 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3591 | .. date: 8895 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3592 | .. nonce: jw3p83 |
| 3593 | .. section: Tests |
| 3594 | |
| 3595 | Fix ``python -m test --coverage`` on Windows. Remove the list of ignored |
| 3596 | directories. |
| 3597 | |
| 3598 | .. |
| 3599 | |
| 3600 | .. bpo: 0 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3601 | .. date: 8894 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3602 | .. nonce: X-Bk5l |
| 3603 | .. section: Tests |
| 3604 | |
| 3605 | ``PCbuild\rt.bat`` now accepts an unlimited number of arguments to pass |
| 3606 | along to regrtest.py. Previously there was a limit of 9. |
| 3607 | |
| 3608 | .. |
| 3609 | |
| 3610 | .. bpo: 26583 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3611 | .. date: 8893 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3612 | .. nonce: Up7hTl |
| 3613 | .. section: Tests |
| 3614 | |
| 3615 | Skip test_timestamp_overflow in test_import if bytecode files cannot be |
| 3616 | written. |
| 3617 | |
| 3618 | .. |
| 3619 | |
| 3620 | .. bpo: 21277 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3621 | .. date: 8892 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3622 | .. nonce: 7y1j9a |
| 3623 | .. section: Build |
| 3624 | |
| 3625 | Don't try to link _ctypes with a ffi_convenience library. |
| 3626 | |
| 3627 | .. |
| 3628 | |
| 3629 | .. bpo: 26884 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3630 | .. date: 8891 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3631 | .. nonce: O8-azL |
| 3632 | .. section: Build |
| 3633 | |
| 3634 | Fix linking extension modules for cross builds. Patch by Xavier de Gaye. |
| 3635 | |
| 3636 | .. |
| 3637 | |
| 3638 | .. bpo: 26932 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3639 | .. date: 8890 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3640 | .. nonce: 5kzaG9 |
| 3641 | .. section: Build |
| 3642 | |
| 3643 | Fixed support of RTLD_* constants defined as enum values, not via macros (in |
| 3644 | particular on Android). Patch by Chi Hsuan Yen. |
| 3645 | |
| 3646 | .. |
| 3647 | |
| 3648 | .. bpo: 22359 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3649 | .. date: 8889 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3650 | .. nonce: HDjM4s |
| 3651 | .. section: Build |
| 3652 | |
Serhiy Storchaka | aef639f | 2018-05-21 02:36:05 +0300 | [diff] [blame] | 3653 | Disable the rules for running _freeze_importlib and pgen when |
| 3654 | cross-compiling. The output of these programs is normally saved with the source |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3655 | code anyway, and is still regenerated when doing a native build. Patch by |
| 3656 | Xavier de Gaye. |
| 3657 | |
| 3658 | .. |
| 3659 | |
| 3660 | .. bpo: 21668 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3661 | .. date: 8888 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3662 | .. nonce: qWwBui |
| 3663 | .. section: Build |
| 3664 | |
| 3665 | Link audioop, _datetime, _ctypes_test modules to libm, except on Mac OS X. |
| 3666 | Patch written by Chi Hsuan Yen. |
| 3667 | |
| 3668 | .. |
| 3669 | |
| 3670 | .. bpo: 25702 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3671 | .. date: 8887 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3672 | .. nonce: ipxyJs |
| 3673 | .. section: Build |
| 3674 | |
| 3675 | A --with-lto configure option has been added that will enable link time |
| 3676 | optimizations at build time during a make profile-opt. Some compilers and |
| 3677 | toolchains are known to not produce stable code when using LTO, be sure to |
| 3678 | test things thoroughly before relying on it. It can provide a few % speed up |
| 3679 | over profile-opt alone. |
| 3680 | |
| 3681 | .. |
| 3682 | |
| 3683 | .. bpo: 26624 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3684 | .. date: 8886 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3685 | .. nonce: 4fGrTl |
| 3686 | .. section: Build |
| 3687 | |
| 3688 | Adds validation of ucrtbase[d].dll version with warning for old versions. |
| 3689 | |
| 3690 | .. |
| 3691 | |
| 3692 | .. bpo: 17603 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3693 | .. date: 8885 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3694 | .. nonce: 102DA- |
| 3695 | .. section: Build |
| 3696 | |
Min ho Kim | 96e12d5 | 2019-07-22 06:12:33 +1000 | [diff] [blame] | 3697 | Avoid error about nonexistent fileblocks.o file by using a lower-level check |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3698 | for st_blocks in struct stat. |
| 3699 | |
| 3700 | .. |
| 3701 | |
| 3702 | .. bpo: 26079 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3703 | .. date: 8884 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3704 | .. nonce: mEzW0O |
| 3705 | .. section: Build |
| 3706 | |
| 3707 | Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel. |
| 3708 | |
| 3709 | .. |
| 3710 | |
| 3711 | .. bpo: 26465 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3712 | .. date: 8883 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3713 | .. nonce: _YR608 |
| 3714 | .. section: Build |
| 3715 | |
| 3716 | Update Windows builds to use OpenSSL 1.0.2g. |
| 3717 | |
| 3718 | .. |
| 3719 | |
| 3720 | .. bpo: 25348 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3721 | .. date: 8882 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3722 | .. nonce: FLSPfp |
| 3723 | .. section: Build |
| 3724 | |
| 3725 | Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for |
| 3726 | building with Profile-Guided Optimization. The old |
| 3727 | ``PCbuild\build_pgo.bat`` script is removed. |
| 3728 | |
| 3729 | .. |
| 3730 | |
| 3731 | .. bpo: 25827 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3732 | .. date: 8881 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3733 | .. nonce: yg3DMM |
| 3734 | .. section: Build |
| 3735 | |
| 3736 | Add support for building with ICC to ``configure``, including a new |
| 3737 | ``--with-icc`` flag. |
| 3738 | |
| 3739 | .. |
| 3740 | |
| 3741 | .. bpo: 25696 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3742 | .. date: 8880 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3743 | .. nonce: 2R_wIv |
| 3744 | .. section: Build |
| 3745 | |
| 3746 | Fix installation of Python on UNIX with make -j9. |
| 3747 | |
| 3748 | .. |
| 3749 | |
| 3750 | .. bpo: 24986 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3751 | .. date: 8879 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3752 | .. nonce: 1WyXeU |
| 3753 | .. section: Build |
| 3754 | |
| 3755 | It is now possible to build Python on Windows without errors when external |
| 3756 | libraries are not available. |
| 3757 | |
| 3758 | .. |
| 3759 | |
| 3760 | .. bpo: 24421 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3761 | .. date: 8878 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3762 | .. nonce: 2zY7vM |
| 3763 | .. section: Build |
| 3764 | |
| 3765 | Compile Modules/_math.c once, before building extensions. Previously it |
| 3766 | could fail to compile properly if the math and cmath builds were concurrent. |
| 3767 | |
| 3768 | .. |
| 3769 | |
| 3770 | .. bpo: 26465 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3771 | .. date: 8877 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3772 | .. nonce: PkIaV8 |
| 3773 | .. section: Build |
| 3774 | |
| 3775 | Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL |
| 3776 | 1.0.2g. |
| 3777 | |
| 3778 | .. |
| 3779 | |
| 3780 | .. bpo: 26268 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3781 | .. date: 8876 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3782 | .. nonce: I3-YLh |
| 3783 | .. section: Build |
| 3784 | |
| 3785 | Update Windows builds to use OpenSSL 1.0.2f. |
| 3786 | |
| 3787 | .. |
| 3788 | |
| 3789 | .. bpo: 25136 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3790 | .. date: 8875 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3791 | .. nonce: Vi-fmO |
| 3792 | .. section: Build |
| 3793 | |
| 3794 | Support Apple Xcode 7's new textual SDK stub libraries. |
| 3795 | |
| 3796 | .. |
| 3797 | |
| 3798 | .. bpo: 24324 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3799 | .. date: 8874 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3800 | .. nonce: m6DZMx |
| 3801 | .. section: Build |
| 3802 | |
| 3803 | Do not enable unreachable code warnings when using gcc as the option does |
| 3804 | not work correctly in older versions of gcc and has been silently removed as |
| 3805 | of gcc-4.5. |
| 3806 | |
| 3807 | .. |
| 3808 | |
| 3809 | .. bpo: 27053 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3810 | .. date: 8873 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3811 | .. nonce: 1IRbae |
| 3812 | .. section: Windows |
| 3813 | |
| 3814 | Updates make_zip.py to correctly generate library ZIP file. |
| 3815 | |
| 3816 | .. |
| 3817 | |
| 3818 | .. bpo: 26268 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3819 | .. date: 8872 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3820 | .. nonce: Z-lJEh |
| 3821 | .. section: Windows |
| 3822 | |
| 3823 | Update the prepare_ssl.py script to handle OpenSSL releases that don't |
| 3824 | include the contents of the include directory (that is, 1.0.2e and later). |
| 3825 | |
| 3826 | .. |
| 3827 | |
| 3828 | .. bpo: 26071 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3829 | .. date: 8871 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3830 | .. nonce: wLxL2l |
| 3831 | .. section: Windows |
| 3832 | |
| 3833 | bdist_wininst created binaries fail to start and find 32bit Python |
| 3834 | |
| 3835 | .. |
| 3836 | |
| 3837 | .. bpo: 26073 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3838 | .. date: 8870 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3839 | .. nonce: XwWgHp |
| 3840 | .. section: Windows |
| 3841 | |
| 3842 | Update the list of magic numbers in launcher |
| 3843 | |
| 3844 | .. |
| 3845 | |
| 3846 | .. bpo: 26065 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3847 | .. date: 8869 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3848 | .. nonce: SkVLJp |
| 3849 | .. section: Windows |
| 3850 | |
| 3851 | Excludes venv from library when generating embeddable distro. |
| 3852 | |
| 3853 | .. |
| 3854 | |
| 3855 | .. bpo: 25022 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3856 | .. date: 8868 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3857 | .. nonce: vAt_zr |
| 3858 | .. section: Windows |
| 3859 | |
| 3860 | Removed very outdated PC/example_nt/ directory. |
| 3861 | |
| 3862 | .. |
| 3863 | |
| 3864 | .. bpo: 26799 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3865 | .. date: 8867 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3866 | .. nonce: gK2VXX |
| 3867 | .. section: Tools/Demos |
| 3868 | |
| 3869 | Fix python-gdb.py: don't get C types once when the Python code is loaded, |
| 3870 | but get C types on demand. The C types can change if python-gdb.py is loaded |
| 3871 | before the Python executable. Patch written by Thomas Ilsche. |
| 3872 | |
| 3873 | .. |
| 3874 | |
| 3875 | .. bpo: 26271 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3876 | .. date: 8866 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3877 | .. nonce: wg-rzr |
| 3878 | .. section: Tools/Demos |
| 3879 | |
| 3880 | Fix the Freeze tool to properly use flags passed through configure. Patch by |
| 3881 | Daniel Shaulov. |
| 3882 | |
| 3883 | .. |
| 3884 | |
| 3885 | .. bpo: 26489 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3886 | .. date: 8865 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3887 | .. nonce: rJ_U5S |
| 3888 | .. section: Tools/Demos |
| 3889 | |
| 3890 | Add dictionary unpacking support to Tools/parser/unparse.py. Patch by Guo Ci |
| 3891 | Teo. |
| 3892 | |
| 3893 | .. |
| 3894 | |
| 3895 | .. bpo: 26316 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3896 | .. date: 8864 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3897 | .. nonce: QJvVOi |
| 3898 | .. section: Tools/Demos |
| 3899 | |
| 3900 | Fix variable name typo in Argument Clinic. |
| 3901 | |
| 3902 | .. |
| 3903 | |
| 3904 | .. bpo: 25440 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3905 | .. date: 8863 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3906 | .. nonce: 5xhyGr |
| 3907 | .. section: Tools/Demos |
| 3908 | |
| 3909 | Fix output of python-config --extension-suffix. |
| 3910 | |
| 3911 | .. |
| 3912 | |
| 3913 | .. bpo: 25154 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3914 | .. date: 8862 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3915 | .. nonce: yLO-r4 |
| 3916 | .. section: Tools/Demos |
| 3917 | |
| 3918 | The pyvenv script has been deprecated in favour of `python3 -m venv`. |
| 3919 | |
| 3920 | .. |
| 3921 | |
| 3922 | .. bpo: 26312 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3923 | .. date: 8861 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3924 | .. nonce: h1T61B |
| 3925 | .. section: C API |
| 3926 | |
| 3927 | SystemError is now raised in all programming bugs with using |
| 3928 | PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some |
| 3929 | programming bugs. |
| 3930 | |
| 3931 | .. |
| 3932 | |
| 3933 | .. bpo: 26198 |
Ned Deily | aee5df5 | 2018-06-27 18:45:50 -0400 | [diff] [blame] | 3934 | .. date: 8860 |
larryhastings | f9f1734 | 2017-09-04 13:30:19 -0700 | [diff] [blame] | 3935 | .. nonce: lVn1HX |
| 3936 | .. section: C API |
| 3937 | |
| 3938 | ValueError is now raised instead of TypeError on buffer overflow in parsing |
| 3939 | "es#" and "et#" format units. SystemError is now raised instead of |
Stéphane Wirtel | 683281f | 2018-10-06 16:35:53 +0200 | [diff] [blame] | 3940 | TypeError on programmatical error in parsing format string. |