Ćukasz Langa | 34214de | 2019-10-01 14:58:26 +0200 | [diff] [blame] | 1 | .. bpo: 38243 |
| 2 | .. date: 2019-09-25-13-21-09 |
| 3 | .. nonce: 1pfz24 |
| 4 | .. release date: 2019-10-01 |
| 5 | .. section: Security |
| 6 | |
| 7 | Escape the server title of :class:`xmlrpc.server.DocXMLRPCServer` when |
| 8 | rendering the document page as HTML. (Contributed by Dong-hee Na in |
| 9 | :issue:`38243`.) |
| 10 | |
| 11 | .. |
| 12 | |
| 13 | .. bpo: 38174 |
| 14 | .. date: 2019-09-23-21-02-46 |
| 15 | .. nonce: MeWuJd |
| 16 | .. section: Security |
| 17 | |
| 18 | Update vendorized expat library version to 2.2.8, which resolves |
| 19 | CVE-2019-15903. |
| 20 | |
| 21 | .. |
| 22 | |
| 23 | .. bpo: 37764 |
| 24 | .. date: 2019-08-27-01-13-05 |
| 25 | .. nonce: qv67PQ |
| 26 | .. section: Security |
| 27 | |
| 28 | Fixes email._header_value_parser.get_unstructured going into an infinite |
| 29 | loop for a specific case in which the email header does not have trailing |
| 30 | whitespace, and the case in which it contains an invalid encoded word. Patch |
| 31 | by Ashwin Ramaswami. |
| 32 | |
| 33 | .. |
| 34 | |
| 35 | .. bpo: 38006 |
| 36 | .. date: 2019-09-30-09-33-21 |
| 37 | .. nonce: UYlJum |
| 38 | .. section: Core and Builtins |
| 39 | |
| 40 | Fix a bug due to the interaction of weakrefs and the cyclic garbage |
| 41 | collector. We must clear any weakrefs in garbage in order to prevent their |
| 42 | callbacks from executing and causing a crash. |
| 43 | |
| 44 | .. |
| 45 | |
| 46 | .. bpo: 38317 |
| 47 | .. date: 2019-09-30-00-56-21 |
| 48 | .. nonce: pmqlIQ |
| 49 | .. section: Core and Builtins |
| 50 | |
| 51 | Fix warnings options priority: ``PyConfig.warnoptions`` has the highest |
| 52 | priority, as stated in the :pep:`587`. |
| 53 | |
| 54 | .. |
| 55 | |
| 56 | .. bpo: 36871 |
| 57 | .. date: 2019-09-24-18-45-46 |
| 58 | .. nonce: p47knk |
| 59 | .. section: Core and Builtins |
| 60 | |
| 61 | Improve error handling for the assert_has_calls and assert_has_awaits |
| 62 | methods of mocks. Fixed a bug where any errors encountered while binding the |
| 63 | expected calls to the mock's spec were silently swallowed, leading to |
| 64 | misleading error output. |
| 65 | |
| 66 | .. |
| 67 | |
| 68 | .. bpo: 38236 |
| 69 | .. date: 2019-09-20-19-06-23 |
| 70 | .. nonce: eQ0Tmj |
| 71 | .. section: Core and Builtins |
| 72 | |
| 73 | Python now dumps path configuration if it fails to import the Python codecs |
| 74 | of the filesystem and stdio encodings. |
| 75 | |
| 76 | .. |
| 77 | |
| 78 | .. bpo: 38013 |
| 79 | .. date: 2019-09-12-19-50-01 |
| 80 | .. nonce: I7btD0 |
| 81 | .. section: Core and Builtins |
| 82 | |
| 83 | Allow to call ``async_generator_athrow().throw(...)`` even for non-started |
| 84 | async generator helper. It fixes annoying warning at the end of |
| 85 | :func:`asyncio.run` call. |
| 86 | |
| 87 | .. |
| 88 | |
| 89 | .. bpo: 38124 |
| 90 | .. date: 2019-09-12-00-14-01 |
| 91 | .. nonce: n6E0H7 |
| 92 | .. section: Core and Builtins |
| 93 | |
| 94 | Fix an off-by-one error in PyState_AddModule that could cause out-of-bounds |
| 95 | memory access. |
| 96 | |
| 97 | .. |
| 98 | |
| 99 | .. bpo: 38005 |
| 100 | .. date: 2019-09-02-20-00-31 |
| 101 | .. nonce: e7VsTA |
| 102 | .. section: Core and Builtins |
| 103 | |
| 104 | Fixed comparing and creating of InterpreterID and ChannelID. |
| 105 | |
| 106 | .. |
| 107 | |
| 108 | .. bpo: 37994 |
| 109 | .. date: 2019-08-31-11-13-25 |
| 110 | .. nonce: Rj6S4j |
| 111 | .. section: Core and Builtins |
| 112 | |
| 113 | Fixed silencing arbitrary errors if an attribute lookup fails in several |
| 114 | sites. Only AttributeError should be silenced. |
| 115 | |
| 116 | .. |
| 117 | |
| 118 | .. bpo: 37990 |
| 119 | .. date: 2019-08-31-09-22-33 |
| 120 | .. nonce: WDY2f- |
| 121 | .. section: Core and Builtins |
| 122 | |
| 123 | Fix elapsed time in gc stats was not printed correctly. This bug was a |
| 124 | regression in 3.8b4. |
| 125 | |
| 126 | .. |
| 127 | |
| 128 | .. bpo: 37966 |
| 129 | .. date: 2019-08-27-21-21-36 |
| 130 | .. nonce: 5OBLez |
| 131 | .. section: Core and Builtins |
| 132 | |
| 133 | The implementation of :func:`~unicodedata.is_normalized` has been greatly |
| 134 | sped up on strings that aren't normalized, by implementing the full |
| 135 | normalization-quick-check algorithm from the Unicode standard. |
| 136 | |
| 137 | .. |
| 138 | |
| 139 | .. bpo: 20490 |
| 140 | .. date: 2019-08-15-12-48-36 |
| 141 | .. nonce: -hXeEn |
| 142 | .. section: Core and Builtins |
| 143 | |
| 144 | Improve import error message for partially initialized module on circular |
| 145 | ``from`` imports - by Anthony Sottile. |
| 146 | |
| 147 | .. |
| 148 | |
| 149 | .. bpo: 37409 |
| 150 | .. date: 2019-08-06-23-39-05 |
| 151 | .. nonce: 1qwzn2 |
| 152 | .. section: Core and Builtins |
| 153 | |
| 154 | Ensure explicit relative imports from interactive sessions and scripts |
| 155 | (having no parent package) always raise ImportError, rather than treating |
| 156 | the current module as the package. Patch by Ben Lewis. |
| 157 | |
| 158 | .. |
| 159 | |
| 160 | .. bpo: 37619 |
| 161 | .. date: 2019-07-18-11-50-49 |
| 162 | .. nonce: X6Lulo |
| 163 | .. section: Core and Builtins |
| 164 | |
| 165 | When adding a wrapper descriptor from one class to a different class (for |
| 166 | example, setting ``__add__ = str.__add__`` on an ``int`` subclass), an |
| 167 | exception is correctly raised when the operator is called. |
| 168 | |
| 169 | .. |
| 170 | |
| 171 | .. bpo: 30773 |
| 172 | .. date: 2018-06-07-01-01-20 |
| 173 | .. nonce: C31rVE |
| 174 | .. section: Core and Builtins |
| 175 | |
| 176 | Prohibit parallel running of aclose() / asend() / athrow(). Fix ag_running |
| 177 | to reflect the actual running status of the AG. |
| 178 | |
| 179 | .. |
| 180 | |
| 181 | .. bpo: 38319 |
| 182 | .. date: 2019-09-30-22-06-33 |
| 183 | .. nonce: 5QjiDa |
| 184 | .. section: Library |
| 185 | |
| 186 | sendfile() used in socket and shutil modules was raising OverflowError for |
| 187 | files >= 2GiB on 32-bit architectures. (patch by Giampaolo Rodola) |
| 188 | |
| 189 | .. |
| 190 | |
| 191 | .. bpo: 38242 |
| 192 | .. date: 2019-09-30-00-15-27 |
| 193 | .. nonce: uPIyAc |
| 194 | .. section: Library |
| 195 | |
| 196 | Revert the new asyncio Streams API |
| 197 | |
| 198 | .. |
| 199 | |
| 200 | .. bpo: 38019 |
| 201 | .. date: 2019-09-29-13-50-24 |
| 202 | .. nonce: 6MoOE3 |
| 203 | .. section: Library |
| 204 | |
| 205 | Correctly handle pause/resume reading of closed asyncio unix pipe. |
| 206 | |
| 207 | .. |
| 208 | |
| 209 | .. bpo: 38163 |
| 210 | .. date: 2019-09-28-20-16-40 |
| 211 | .. nonce: x51-vK |
| 212 | .. section: Library |
| 213 | |
| 214 | Child mocks will now detect their type as either synchronous or |
| 215 | asynchronous, asynchronous child mocks will be AsyncMocks and synchronous |
| 216 | child mocks will be either MagicMock or Mock (depending on their parent |
| 217 | type). |
| 218 | |
| 219 | .. |
| 220 | |
| 221 | .. bpo: 38161 |
| 222 | .. date: 2019-09-27-16-31-28 |
| 223 | .. nonce: zehai1 |
| 224 | .. section: Library |
| 225 | |
| 226 | Removes _AwaitEvent from AsyncMock. |
| 227 | |
| 228 | .. |
| 229 | |
| 230 | .. bpo: 38216 |
| 231 | .. date: 2019-09-27-15-24-45 |
| 232 | .. nonce: -7yvZR |
| 233 | .. section: Library |
| 234 | |
| 235 | Allow the rare code that wants to send invalid http requests from the |
| 236 | `http.client` library a way to do so. The fixes for bpo-30458 led to |
| 237 | breakage for some projects that were relying on this ability to test their |
| 238 | own behavior in the face of bad requests. |
| 239 | |
| 240 | .. |
| 241 | |
| 242 | .. bpo: 38108 |
| 243 | .. date: 2019-09-25-21-37-02 |
| 244 | .. nonce: Jr9HU6 |
| 245 | .. section: Library |
| 246 | |
| 247 | Any synchronous magic methods on an AsyncMock now return a MagicMock. Any |
| 248 | asynchronous magic methods on a MagicMock now return an AsyncMock. |
| 249 | |
| 250 | .. |
| 251 | |
| 252 | .. bpo: 38248 |
| 253 | .. date: 2019-09-22-13-05-36 |
| 254 | .. nonce: Yo3N_1 |
| 255 | .. section: Library |
| 256 | |
| 257 | asyncio: Fix inconsistent immediate Task cancellation |
| 258 | |
| 259 | .. |
| 260 | |
| 261 | .. bpo: 38237 |
| 262 | .. date: 2019-09-20-14-27-17 |
| 263 | .. nonce: xRUZbx |
| 264 | .. section: Library |
| 265 | |
| 266 | The arguments for the builtin pow function are more descriptive. They can |
| 267 | now also be passed in as keywords. |
| 268 | |
| 269 | .. |
| 270 | |
| 271 | .. bpo: 38191 |
| 272 | .. date: 2019-09-17-12-28-27 |
| 273 | .. nonce: 1TU0HV |
| 274 | .. section: Library |
| 275 | |
| 276 | Constructors of :class:`~typing.NamedTuple` and :class:`~typing.TypedDict` |
| 277 | types now accept arbitrary keyword argument names, including "cls", "self", |
| 278 | "typename", "_typename", "fields" and "_fields". Passing positional |
| 279 | arguments by keyword is deprecated. |
| 280 | |
| 281 | .. |
| 282 | |
| 283 | .. bpo: 38185 |
| 284 | .. date: 2019-09-16-19-12-57 |
| 285 | .. nonce: zYWppY |
| 286 | .. section: Library |
| 287 | |
| 288 | Fixed case-insensitive string comparison in :class:`sqlite3.Row` indexing. |
| 289 | |
| 290 | .. |
| 291 | |
| 292 | .. bpo: 38136 |
| 293 | .. date: 2019-09-16-09-54-42 |
| 294 | .. nonce: MdI-Zb |
| 295 | .. section: Library |
| 296 | |
| 297 | Changes AsyncMock call count and await count to be two different counters. |
| 298 | Now await count only counts when a coroutine has been awaited, not when it |
| 299 | has been called, and vice-versa. Update the documentation around this. |
| 300 | |
| 301 | .. |
| 302 | |
| 303 | .. bpo: 37828 |
| 304 | .. date: 2019-09-15-21-31-18 |
| 305 | .. nonce: gLLDX7 |
| 306 | .. section: Library |
| 307 | |
| 308 | Fix default mock name in :meth:`unittest.mock.Mock.assert_called` |
| 309 | exceptions. Patch by Abraham Toriz Cruz. |
| 310 | |
| 311 | .. |
| 312 | |
| 313 | .. bpo: 38175 |
| 314 | .. date: 2019-09-15-10-30-33 |
| 315 | .. nonce: 61XlUv |
| 316 | .. section: Library |
| 317 | |
| 318 | Fix a memory leak in comparison of :class:`sqlite3.Row` objects. |
| 319 | |
| 320 | .. |
| 321 | |
| 322 | .. bpo: 33936 |
| 323 | .. date: 2019-09-14-10-34-00 |
| 324 | .. nonce: 8wCI_n |
| 325 | .. section: Library |
| 326 | |
| 327 | _hashlib no longer calls obsolete OpenSSL initialization function with |
| 328 | OpenSSL 1.1.0+. |
| 329 | |
| 330 | .. |
| 331 | |
| 332 | .. bpo: 34706 |
| 333 | .. date: 2019-09-13-14-54-33 |
| 334 | .. nonce: HWVpOY |
| 335 | .. section: Library |
| 336 | |
| 337 | Preserve subclassing in inspect.Signature.from_callable. |
| 338 | |
| 339 | .. |
| 340 | |
| 341 | .. bpo: 38153 |
| 342 | .. date: 2019-09-13-12-18-51 |
| 343 | .. nonce: nHAbuJ |
| 344 | .. section: Library |
| 345 | |
| 346 | Names of hashing algorithms frome OpenSSL are now normalized to follow |
| 347 | Python's naming conventions. For example OpenSSL uses sha3-512 instead of |
| 348 | sha3_512 or blake2b512 instead of blake2b. |
| 349 | |
| 350 | .. |
| 351 | |
| 352 | .. bpo: 38115 |
| 353 | .. date: 2019-09-13-09-24-58 |
| 354 | .. nonce: BOO-Y1 |
| 355 | .. section: Library |
| 356 | |
| 357 | Fix a bug in dis.findlinestarts() where it would return invalid bytecode |
| 358 | offsets. Document that a code object's co_lnotab can contain invalid |
| 359 | bytecode offsets. |
| 360 | |
| 361 | .. |
| 362 | |
| 363 | .. bpo: 38148 |
| 364 | .. date: 2019-09-13-08-55-43 |
| 365 | .. nonce: Lnww6D |
| 366 | .. section: Library |
| 367 | |
| 368 | Add slots to :mod:`asyncio` transport classes, which can reduce memory |
| 369 | usage. |
| 370 | |
| 371 | .. |
| 372 | |
| 373 | .. bpo: 36991 |
| 374 | .. date: 2019-09-12-14-52-38 |
| 375 | .. nonce: 1OcSm8 |
| 376 | .. section: Library |
| 377 | |
| 378 | Fixes a potential incorrect AttributeError exception escaping |
| 379 | ZipFile.extract() in some unsupported input error situations. |
| 380 | |
| 381 | .. |
| 382 | |
| 383 | .. bpo: 38134 |
| 384 | .. date: 2019-09-12-13-18-55 |
| 385 | .. nonce: gXJTbP |
| 386 | .. section: Library |
| 387 | |
| 388 | Remove obsolete copy of PBKDF2_HMAC_fast. All supported OpenSSL versions |
| 389 | contain a fast implementation. |
| 390 | |
| 391 | .. |
| 392 | |
| 393 | .. bpo: 38132 |
| 394 | .. date: 2019-09-12-12-47-35 |
| 395 | .. nonce: KSFx1F |
| 396 | .. section: Library |
| 397 | |
| 398 | The OpenSSL hashlib wrapper uses a simpler implementation. Several Macros |
| 399 | and pointless caches are gone. The hash name now comes from OpenSSL's EVP. |
| 400 | The algorithm name stays the same, except it is now always lower case. |
| 401 | |
| 402 | .. |
| 403 | |
| 404 | .. bpo: 38008 |
| 405 | .. date: 2019-09-12-10-47-34 |
| 406 | .. nonce: sH74Iy |
| 407 | .. section: Library |
| 408 | |
| 409 | Fix parent class check in protocols to correctly identify the module that |
| 410 | provides a builtin protocol, instead of assuming they all come from the |
| 411 | :mod:`collections.abc` module |
| 412 | |
| 413 | .. |
| 414 | |
| 415 | .. bpo: 37405 |
| 416 | .. date: 2019-09-11-20-27-41 |
| 417 | .. nonce: MG5xiY |
| 418 | .. section: Library |
| 419 | |
| 420 | Fixed regression bug for socket.getsockname() for non-CAN_ISOTP AF_CAN |
| 421 | address family sockets by returning a 1-tuple instead of string. |
| 422 | |
| 423 | .. |
| 424 | |
| 425 | .. bpo: 38121 |
| 426 | .. date: 2019-09-11-16-54-57 |
| 427 | .. nonce: SrSDzB |
| 428 | .. section: Library |
| 429 | |
| 430 | Update parameter names on functions in importlib.metadata matching the |
| 431 | changes in the 0.22 release of importlib_metadata. |
| 432 | |
| 433 | .. |
| 434 | |
| 435 | .. bpo: 38110 |
| 436 | .. date: 2019-09-11-14-49-20 |
| 437 | .. nonce: A19Y-q |
| 438 | .. section: Library |
| 439 | |
| 440 | The os.closewalk() implementation now uses the libc fdwalk() API on |
| 441 | platforms where it is available. |
| 442 | |
| 443 | .. |
| 444 | |
| 445 | .. bpo: 38093 |
| 446 | .. date: 2019-09-11-14-45-30 |
| 447 | .. nonce: yQ6k7y |
| 448 | .. section: Library |
| 449 | |
| 450 | Fixes AsyncMock so it doesn't crash when used with AsyncContextManagers or |
| 451 | AsyncIterators. |
| 452 | |
| 453 | .. |
| 454 | |
| 455 | .. bpo: 37488 |
| 456 | .. date: 2019-09-11-11-44-16 |
| 457 | .. nonce: S8CJUL |
| 458 | .. section: Library |
| 459 | |
| 460 | Add warning to :meth:`datetime.utctimetuple`, :meth:`datetime.utcnow` and |
| 461 | :meth:`datetime.utcfromtimestamp` . |
| 462 | |
| 463 | .. |
| 464 | |
| 465 | .. bpo: 38086 |
| 466 | .. date: 2019-09-10-11-42-59 |
| 467 | .. nonce: w5TlG- |
| 468 | .. section: Library |
| 469 | |
| 470 | Update importlib.metadata with changes from `importlib_metadata 0.21 |
| 471 | <https://gitlab.com/python-devs/importlib_metadata/blob/0.21/importlib_metadata/docs/changelog.rst>`_. |
| 472 | |
| 473 | .. |
| 474 | |
| 475 | .. bpo: 37251 |
| 476 | .. date: 2019-09-10-10-59-50 |
| 477 | .. nonce: 8zn2o3 |
| 478 | .. section: Library |
| 479 | |
| 480 | Remove `__code__` check in AsyncMock that incorrectly evaluated function |
| 481 | specs as async objects but failed to evaluate classes with `__await__` but |
| 482 | no `__code__` attribute defined as async objects. |
| 483 | |
| 484 | .. |
| 485 | |
| 486 | .. bpo: 38037 |
| 487 | .. date: 2019-09-09-18-39-23 |
| 488 | .. nonce: B0UgFU |
| 489 | .. section: Library |
| 490 | |
| 491 | Fix reference counters in the :mod:`signal` module. |
| 492 | |
| 493 | .. |
| 494 | |
| 495 | .. bpo: 38066 |
| 496 | .. date: 2019-09-09-14-39-47 |
| 497 | .. nonce: l9mWv- |
| 498 | .. section: Library |
| 499 | |
| 500 | Hide internal asyncio.Stream methods: feed_eof(), feed_data(), |
| 501 | set_exception() and set_transport(). |
| 502 | |
| 503 | .. |
| 504 | |
| 505 | .. bpo: 38059 |
| 506 | .. date: 2019-09-08-11-36-50 |
| 507 | .. nonce: 8SA6co |
| 508 | .. section: Library |
| 509 | |
| 510 | inspect.py now uses sys.exit() instead of exit() |
| 511 | |
| 512 | .. |
| 513 | |
| 514 | .. bpo: 37953 |
| 515 | .. date: 2019-09-06-17-40-34 |
| 516 | .. nonce: db5FQq |
| 517 | .. section: Library |
| 518 | |
| 519 | In :mod:`typing`, improved the ``__hash__`` and ``__eq__`` methods for |
| 520 | :class:`ForwardReferences`. |
| 521 | |
| 522 | .. |
| 523 | |
| 524 | .. bpo: 38026 |
| 525 | .. date: 2019-09-04-20-34-14 |
| 526 | .. nonce: 0LLRX- |
| 527 | .. section: Library |
| 528 | |
| 529 | Fixed :func:`inspect.getattr_static` used ``isinstance`` while it should |
| 530 | avoid dynamic lookup. |
| 531 | |
| 532 | .. |
| 533 | |
| 534 | .. bpo: 38010 |
| 535 | .. date: 2019-09-02-14-30-39 |
| 536 | .. nonce: JOnz9Z |
| 537 | .. section: Library |
| 538 | |
| 539 | In ``importlib.metadata`` sync with ``importlib_metadata`` 0.20, clarifying |
| 540 | behavior of ``files()`` and fixing issue where only one requirement was |
| 541 | returned for ``requires()`` on ``dist-info`` packages. |
| 542 | |
| 543 | .. |
| 544 | |
| 545 | .. bpo: 38006 |
| 546 | .. date: 2019-09-02-13-37-27 |
| 547 | .. nonce: Y7vA0Q |
| 548 | .. section: Library |
| 549 | |
| 550 | weakref.WeakValueDictionary defines a local remove() function used as |
| 551 | callback for weak references. This function was created with a closure. |
| 552 | Modify the implementation to avoid the closure. |
| 553 | |
| 554 | .. |
| 555 | |
| 556 | .. bpo: 34410 |
| 557 | .. date: 2019-08-31-01-52-59 |
| 558 | .. nonce: 7KbWZQ |
| 559 | .. section: Library |
| 560 | |
| 561 | Fixed a crash in the :func:`tee` iterator when re-enter it. RuntimeError is |
| 562 | now raised in this case. |
| 563 | |
| 564 | .. |
| 565 | |
| 566 | .. bpo: 37140 |
| 567 | .. date: 2019-08-30-11-21-10 |
| 568 | .. nonce: cFAX-a |
| 569 | .. section: Library |
| 570 | |
| 571 | Fix a ctypes regression of Python 3.8. When a ctypes.Structure is passed by |
| 572 | copy to a function, ctypes internals created a temporary object which had |
| 573 | the side effect of calling the structure finalizer (__del__) twice. The |
| 574 | Python semantics requires a finalizer to be called exactly once. Fix ctypes |
| 575 | internals to no longer call the finalizer twice. |
| 576 | |
| 577 | .. |
| 578 | |
| 579 | .. bpo: 37972 |
| 580 | .. date: 2019-08-28-21-40-12 |
| 581 | .. nonce: kP-n4L |
| 582 | .. section: Library |
| 583 | |
| 584 | Subscripts to the `unittest.mock.call` objects now receive the same chaining |
| 585 | mechanism as any other custom attributes, so that the following usage no |
| 586 | longer raises a `TypeError`: |
| 587 | |
| 588 | call().foo().__getitem__('bar') |
| 589 | |
| 590 | Patch by blhsing |
| 591 | |
| 592 | .. |
| 593 | |
| 594 | .. bpo: 22347 |
| 595 | .. date: 2019-08-27-01-03-26 |
| 596 | .. nonce: _TRpYr |
| 597 | .. section: Library |
| 598 | |
| 599 | Update mimetypes.guess_type to allow proper parsing of URLs with only a host |
| 600 | name. Patch by Dong-hee Na. |
| 601 | |
| 602 | .. |
| 603 | |
| 604 | .. bpo: 37885 |
| 605 | .. date: 2019-08-19-10-31-41 |
| 606 | .. nonce: 4Nc9sp |
| 607 | .. section: Library |
| 608 | |
| 609 | venv: Don't generate unset variable warning on deactivate. |
| 610 | |
| 611 | .. |
| 612 | |
| 613 | .. bpo: 37785 |
| 614 | .. date: 2019-08-07-14-49-22 |
| 615 | .. nonce: y7OlT8 |
| 616 | .. section: Library |
| 617 | |
| 618 | Fix xgettext warnings in :mod:`argparse`. |
| 619 | |
| 620 | .. |
| 621 | |
| 622 | .. bpo: 11953 |
| 623 | .. date: 2019-07-29-21-39-45 |
| 624 | .. nonce: 4Hpwf9 |
| 625 | .. section: Library |
| 626 | |
| 627 | Completing WSA* error codes in :mod:`socket`. |
| 628 | |
| 629 | .. |
| 630 | |
| 631 | .. bpo: 37424 |
| 632 | .. date: 2019-07-04-13-00-20 |
| 633 | .. nonce: 0i1MR- |
| 634 | .. section: Library |
| 635 | |
| 636 | Fixes a possible hang when using a timeout on `subprocess.run()` while |
| 637 | capturing output. If the child process spawned its own children or |
| 638 | otherwise connected its stdout or stderr handles with another process, we |
| 639 | could hang after the timeout was reached and our child was killed when |
| 640 | attempting to read final output from the pipes. |
| 641 | |
| 642 | .. |
| 643 | |
| 644 | .. bpo: 37212 |
| 645 | .. date: 2019-06-22-22-00-35 |
| 646 | .. nonce: Zhv-tq |
| 647 | .. section: Library |
| 648 | |
| 649 | :func:`unittest.mock.call` now preserves the order of keyword arguments in |
| 650 | repr output. Patch by Karthikeyan Singaravelan. |
| 651 | |
| 652 | .. |
| 653 | |
| 654 | .. bpo: 37305 |
| 655 | .. date: 2019-06-18-13-59-55 |
| 656 | .. nonce: fGzWlP |
| 657 | .. section: Library |
| 658 | |
| 659 | Add .webmanifest -> application/manifest+json to list of recognized file |
| 660 | types and content type headers |
| 661 | |
| 662 | .. |
| 663 | |
| 664 | .. bpo: 21872 |
| 665 | .. date: 2019-06-12-08-56-22 |
| 666 | .. nonce: V9QGGN |
| 667 | .. section: Library |
| 668 | |
| 669 | Fix :mod:`lzma`: module decompresses data incompletely. When decompressing a |
| 670 | FORMAT_ALONE format file, and it doesn't have the end marker, sometimes the |
| 671 | last one to dozens bytes can't be output. Patch by Ma Lin. |
| 672 | |
| 673 | .. |
| 674 | |
| 675 | .. bpo: 37206 |
| 676 | .. date: 2019-06-09-22-25-03 |
| 677 | .. nonce: 2WBg4q |
| 678 | .. section: Library |
| 679 | |
| 680 | Default values which cannot be represented as Python objects no longer |
| 681 | improperly represented as ``None`` in function signatures. |
| 682 | |
| 683 | .. |
| 684 | |
| 685 | .. bpo: 12144 |
| 686 | .. date: 2019-06-08-23-26-58 |
| 687 | .. nonce: Z7mz-q |
| 688 | .. section: Library |
| 689 | |
| 690 | Ensure cookies with ``expires`` attribute are handled in |
| 691 | :meth:`CookieJar.make_cookies`. |
| 692 | |
| 693 | .. |
| 694 | |
| 695 | .. bpo: 31163 |
| 696 | .. date: 2019-05-26-16-34-53 |
| 697 | .. nonce: 21A802 |
| 698 | .. section: Library |
| 699 | |
| 700 | pathlib.Path instance's rename and replace methods now return the new Path |
| 701 | instance. |
| 702 | |
| 703 | .. |
| 704 | |
| 705 | .. bpo: 25068 |
| 706 | .. date: 2019-05-22-04-52-35 |
| 707 | .. nonce: vR_rC- |
| 708 | .. section: Library |
| 709 | |
| 710 | :class:`urllib.request.ProxyHandler` now lowercases the keys of the passed |
| 711 | dictionary. |
| 712 | |
| 713 | .. |
| 714 | |
| 715 | .. bpo: 21315 |
| 716 | .. date: 2019-05-19-10-48-46 |
| 717 | .. nonce: PgXVqF |
| 718 | .. section: Library |
| 719 | |
| 720 | Email headers containing RFC2047 encoded words are parsed despite the |
| 721 | missing whitespace, and a defect registered. Also missing trailing |
| 722 | whitespace after encoded words is now registered as a defect. |
| 723 | |
| 724 | .. |
| 725 | |
| 726 | .. bpo: 36250 |
| 727 | .. date: 2019-03-09-16-04-12 |
| 728 | .. nonce: tSK4N1 |
| 729 | .. section: Library |
| 730 | |
| 731 | Ignore ``ValueError`` from ``signal`` with ``interaction`` in non-main |
| 732 | thread. |
| 733 | |
| 734 | .. |
| 735 | |
| 736 | .. bpo: 35168 |
| 737 | .. date: 2019-01-22-09-23-20 |
| 738 | .. nonce: UGv2yW |
| 739 | .. section: Library |
| 740 | |
| 741 | :attr:`shlex.shlex.punctuation_chars` is now a read-only property. |
| 742 | |
| 743 | .. |
| 744 | |
| 745 | .. bpo: 20504 |
| 746 | .. date: 2018-11-21-18-05-50 |
| 747 | .. nonce: kG0ub5 |
| 748 | .. section: Library |
| 749 | |
| 750 | Fixes a bug in :mod:`cgi` module when a multipart/form-data request has no |
| 751 | `Content-Length` header. |
| 752 | |
| 753 | .. |
| 754 | |
| 755 | .. bpo: 34519 |
| 756 | .. date: 2018-08-27-15-44-50 |
| 757 | .. nonce: cPlH1h |
| 758 | .. section: Library |
| 759 | |
| 760 | Add additional aliases for HP Roman 8. Patch by Michael Osipov. |
| 761 | |
| 762 | .. |
| 763 | |
| 764 | .. bpo: 26868 |
| 765 | .. date: 2019-09-07-15-55-46 |
| 766 | .. nonce: Raw0Gd |
| 767 | .. section: Documentation |
| 768 | |
| 769 | Fix example usage of :c:func:`PyModule_AddObject` to properly handle errors. |
| 770 | |
| 771 | .. |
| 772 | |
| 773 | .. bpo: 36797 |
| 774 | .. date: 2019-09-05-14-47-51 |
| 775 | .. nonce: KN9Ga5 |
| 776 | .. section: Documentation |
| 777 | |
| 778 | Fix a dead link in the distutils API Reference. |
| 779 | |
| 780 | .. |
| 781 | |
| 782 | .. bpo: 37977 |
| 783 | .. date: 2019-08-29-14-38-01 |
| 784 | .. nonce: pML-UI |
| 785 | .. section: Documentation |
| 786 | |
| 787 | Warn more strongly and clearly about pickle insecurity |
| 788 | |
| 789 | .. |
| 790 | |
| 791 | .. bpo: 37937 |
| 792 | .. date: 2019-08-24-12-59-06 |
| 793 | .. nonce: F7fHbt |
| 794 | .. section: Documentation |
| 795 | |
| 796 | Mention ``frame.f_trace`` in :func:`sys.settrace` docs. |
| 797 | |
| 798 | .. |
| 799 | |
| 800 | .. bpo: 36260 |
| 801 | .. date: 2019-06-04-09-29-00 |
| 802 | .. nonce: WrGuc- |
| 803 | .. section: Documentation |
| 804 | |
| 805 | Add decompression pitfalls to zipfile module documentation. |
| 806 | |
| 807 | .. |
| 808 | |
| 809 | .. bpo: 36960 |
| 810 | .. date: 2019-05-18-16-25-44 |
| 811 | .. nonce: xEKHXj |
| 812 | .. section: Documentation |
| 813 | |
| 814 | Restructured the :mod:`datetime` docs in the interest of making them more |
| 815 | user-friendly and improving readability. Patch by Brad Solomon. |
| 816 | |
| 817 | .. |
| 818 | |
| 819 | .. bpo: 23460 |
| 820 | .. date: 2019-02-14-07-12-48 |
| 821 | .. nonce: Iqiqtm |
| 822 | .. section: Documentation |
| 823 | |
| 824 | The documentation for decimal string formatting using the `:g` specifier has |
| 825 | been updated to reflect the correct exponential notation cutoff point. |
| 826 | Original patch contributed by Tuomas Suutari. |
| 827 | |
| 828 | .. |
| 829 | |
| 830 | .. bpo: 35803 |
| 831 | .. date: 2019-01-21-14-30-59 |
| 832 | .. nonce: yae6Lq |
| 833 | .. section: Documentation |
| 834 | |
| 835 | Document and test that ``tempfile`` functions may accept a :term:`path-like |
| 836 | object` for the ``dir`` argument. Patch by Anthony Sottile. |
| 837 | |
| 838 | .. |
| 839 | |
| 840 | .. bpo: 33944 |
| 841 | .. date: 2018-10-26-18-10-29 |
| 842 | .. nonce: V1YeOA |
| 843 | .. section: Documentation |
| 844 | |
| 845 | Added a note about the intended use of code in .pth files. |
| 846 | |
| 847 | .. |
| 848 | |
| 849 | .. bpo: 34293 |
| 850 | .. date: 2018-07-31-15-38-26 |
| 851 | .. nonce: yHupAL |
| 852 | .. section: Documentation |
| 853 | |
| 854 | Fix the Doc/Makefile regarding PAPER environment variable and PDF builds |
| 855 | |
| 856 | .. |
| 857 | |
| 858 | .. bpo: 38239 |
| 859 | .. date: 2019-09-26-15-48-36 |
| 860 | .. nonce: MfoVzY |
| 861 | .. section: Tests |
| 862 | |
| 863 | Fix test_gdb for Link Time Optimization (LTO) builds. |
| 864 | |
| 865 | .. |
| 866 | |
| 867 | .. bpo: 38275 |
| 868 | .. date: 2019-09-25-14-40-57 |
| 869 | .. nonce: -kdveI |
| 870 | .. section: Tests |
| 871 | |
| 872 | test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto |
| 873 | policy and run-time settings are recognized and tests for disabled versions |
| 874 | are skipped. Tests also accept more TLS minimum_versions for platforms that |
| 875 | override OpenSSL's default with strict settings. |
| 876 | |
| 877 | .. |
| 878 | |
| 879 | .. bpo: 38271 |
| 880 | .. date: 2019-09-25-13-11-29 |
| 881 | .. nonce: iHXNIg |
| 882 | .. section: Tests |
| 883 | |
| 884 | The private keys for test_ssl were encrypted with 3DES in traditional PKCS#5 |
| 885 | format. 3DES and the digest algorithm of PKCS#5 are blocked by some strict |
| 886 | crypto policies. Use PKCS#8 format with AES256 encryption instead. |
| 887 | |
| 888 | .. |
| 889 | |
| 890 | .. bpo: 38270 |
| 891 | .. date: 2019-09-25-12-18-31 |
| 892 | .. nonce: _x-9uH |
| 893 | .. section: Tests |
| 894 | |
| 895 | test.support now has a helper function to check for availibility of a hash |
| 896 | digest function. Several tests are refactored avoid MD5 and use SHA256 |
| 897 | instead. Other tests are marked to use MD5 and skipped when MD5 is disabled. |
| 898 | |
| 899 | .. |
| 900 | |
| 901 | .. bpo: 37123 |
| 902 | .. date: 2019-09-24-12-30-55 |
| 903 | .. nonce: IoutBn |
| 904 | .. section: Tests |
| 905 | |
| 906 | Multiprocessing test test_mymanager() now also expects -SIGTERM, not only |
| 907 | exitcode 0. BaseManager._finalize_manager() sends SIGTERM to the manager |
| 908 | process if it takes longer than 1 second to stop, which happens on slow |
| 909 | buildbots. |
| 910 | |
| 911 | .. |
| 912 | |
| 913 | .. bpo: 38212 |
| 914 | .. date: 2019-09-24-12-24-05 |
| 915 | .. nonce: IWbhWz |
| 916 | .. section: Tests |
| 917 | |
| 918 | Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout |
| 919 | from 1 to 60 seconds. |
| 920 | |
| 921 | .. |
| 922 | |
| 923 | .. bpo: 38117 |
| 924 | .. date: 2019-09-11-17-22-32 |
| 925 | .. nonce: X7LgGY |
| 926 | .. section: Tests |
| 927 | |
| 928 | Test with OpenSSL 1.1.1d |
| 929 | |
| 930 | .. |
| 931 | |
| 932 | .. bpo: 37531 |
| 933 | .. date: 2019-08-20-19-24-19 |
| 934 | .. nonce: wRoXfU |
| 935 | .. section: Tests |
| 936 | |
| 937 | Enhance regrtest multiprocess timeout: write a message when killing a worker |
| 938 | process, catch popen.kill() and popen.wait() exceptions, put a timeout on |
| 939 | the second call to popen.communicate(). |
| 940 | |
| 941 | .. |
| 942 | |
| 943 | .. bpo: 37876 |
| 944 | .. date: 2019-08-16-16-15-14 |
| 945 | .. nonce: m3k1w3 |
| 946 | .. section: Tests |
| 947 | |
| 948 | Add tests for ROT-13 codec. |
| 949 | |
| 950 | .. |
| 951 | |
| 952 | .. bpo: 37252 |
| 953 | .. date: 2019-06-12-14-30-29 |
| 954 | .. nonce: 4o-uLs |
| 955 | .. section: Tests |
| 956 | |
| 957 | Fix assertions in ``test_close`` and ``test_events_mask_overflow`` devpoll |
| 958 | tests. |
| 959 | |
| 960 | .. |
| 961 | |
| 962 | .. bpo: 34001 |
| 963 | .. date: 2019-06-03-20-47-10 |
| 964 | .. nonce: KvYx9z |
| 965 | .. section: Tests |
| 966 | |
| 967 | Make test_ssl pass with LibreSSL. LibreSSL handles minimum and maximum TLS |
| 968 | version differently than OpenSSL. |
| 969 | |
| 970 | .. |
| 971 | |
| 972 | .. bpo: 36919 |
| 973 | .. date: 2019-05-28-15-41-34 |
| 974 | .. nonce: -vGt_m |
| 975 | .. section: Tests |
| 976 | |
| 977 | Make ``test_source_encoding.test_issue2301`` implementation independent. The |
| 978 | test will work now for both CPython and IronPython. |
| 979 | |
| 980 | .. |
| 981 | |
| 982 | .. bpo: 34596 |
| 983 | .. date: 2018-09-07-01-18-27 |
| 984 | .. nonce: r2-EGd |
| 985 | .. section: Tests |
| 986 | |
| 987 | Fallback to a default reason when :func:`unittest.skip` is uncalled. Patch |
| 988 | by Naitree Zhu. |
| 989 | |
| 990 | .. |
| 991 | |
| 992 | .. bpo: 38301 |
| 993 | .. date: 2019-09-28-02-37-11 |
| 994 | .. nonce: 123456 |
| 995 | .. section: Build |
| 996 | |
| 997 | In Solaris family, we must be sure to use ``-D_REENTRANT``. Patch by JesĂșs |
| 998 | Cea AviĂłn. |
| 999 | |
| 1000 | .. |
| 1001 | |
| 1002 | .. bpo: 36210 |
| 1003 | .. date: 2019-09-24-22-47-47 |
| 1004 | .. nonce: EmL9X1 |
| 1005 | .. section: Build |
| 1006 | |
| 1007 | Update optional extension module detection for AIX. ossaudiodev and spwd are |
| 1008 | not applicable for AIX, and are no longer reported as missing. 3rd-party |
| 1009 | packaging of ncurses (with ASIS support) conflicts with officially supported |
| 1010 | AIX curses library, so configure AIX to use libcurses.a. However, skip |
| 1011 | trying to build _curses_panel. |
| 1012 | |
| 1013 | patch by M Felt |
| 1014 | |
| 1015 | .. |
| 1016 | |
| 1017 | .. bpo: 36002 |
| 1018 | .. date: 2019-09-13-14-12-36 |
| 1019 | .. nonce: Bcl4oe |
| 1020 | .. section: Build |
| 1021 | |
| 1022 | Locate ``llvm-profdata`` and ``llvm-ar`` binaries using ``AC_PATH_TOOL`` |
| 1023 | rather than ``AC_PATH_TARGET_TOOL``. |
| 1024 | |
| 1025 | .. |
| 1026 | |
| 1027 | .. bpo: 37936 |
| 1028 | .. date: 2019-09-10-00-54-48 |
| 1029 | .. nonce: E7XEwu |
| 1030 | .. section: Build |
| 1031 | |
| 1032 | The :file:`.gitignore` file systematically keeps "rooted", with a |
| 1033 | non-trailing slash, all the rules that are meant to apply to files in a |
| 1034 | specific place in the repo. Previously, when the intended file to ignore |
| 1035 | happened to be at the root of the repo, we'd most often accidentally also |
| 1036 | ignore files and directories with the same name anywhere in the tree. |
| 1037 | |
| 1038 | .. |
| 1039 | |
| 1040 | .. bpo: 37936 |
| 1041 | .. date: 2019-08-24-00-29-40 |
| 1042 | .. nonce: QrORqA |
| 1043 | .. section: Build |
| 1044 | |
| 1045 | The :file:`.gitignore` file no longer applies to any files that are in fact |
| 1046 | tracked in the Git repository. Patch by Greg Price. |
| 1047 | |
| 1048 | .. |
| 1049 | |
| 1050 | .. bpo: 38117 |
| 1051 | .. date: 2019-09-16-14-07-11 |
| 1052 | .. nonce: hJVf0C |
| 1053 | .. section: Windows |
| 1054 | |
| 1055 | Update bundled OpenSSL to 1.1.1d |
| 1056 | |
| 1057 | .. |
| 1058 | |
| 1059 | .. bpo: 38092 |
| 1060 | .. date: 2019-09-13-14-11-42 |
| 1061 | .. nonce: x31ehI |
| 1062 | .. section: Windows |
| 1063 | |
| 1064 | Reduce overhead when using multiprocessing in a Windows virtual environment. |
| 1065 | |
| 1066 | .. |
| 1067 | |
| 1068 | .. bpo: 38133 |
| 1069 | .. date: 2019-09-12-12-05-55 |
| 1070 | .. nonce: yFeRGS |
| 1071 | .. section: Windows |
| 1072 | |
| 1073 | Allow py.exe launcher to locate installations from the Microsoft Store and |
| 1074 | improve display of active virtual environments. |
| 1075 | |
| 1076 | .. |
| 1077 | |
| 1078 | .. bpo: 38114 |
| 1079 | .. date: 2019-09-11-15-24-04 |
| 1080 | .. nonce: cc0E5E |
| 1081 | .. section: Windows |
| 1082 | |
| 1083 | The ``pip.ini`` is no longer included in the Nuget package. |
| 1084 | |
| 1085 | .. |
| 1086 | |
| 1087 | .. bpo: 36634 |
| 1088 | .. date: 2019-09-11-14-42-04 |
| 1089 | .. nonce: 8Un8ih |
| 1090 | .. section: Windows |
| 1091 | |
| 1092 | :func:`os.cpu_count` now returns active processors rather than maximum |
| 1093 | processors. |
| 1094 | |
| 1095 | .. |
| 1096 | |
| 1097 | .. bpo: 36634 |
| 1098 | .. date: 2019-09-11-12-34-31 |
| 1099 | .. nonce: xLaGgb |
| 1100 | .. section: Windows |
| 1101 | |
| 1102 | venv activate.bat now works when the existing variables contain double quote |
| 1103 | characters. |
| 1104 | |
| 1105 | .. |
| 1106 | |
| 1107 | .. bpo: 38081 |
| 1108 | .. date: 2019-09-11-10-22-01 |
| 1109 | .. nonce: 8JhzjD |
| 1110 | .. section: Windows |
| 1111 | |
| 1112 | Prevent error calling :func:`os.path.realpath` on ``'NUL'``. |
| 1113 | |
| 1114 | .. |
| 1115 | |
| 1116 | .. bpo: 38087 |
| 1117 | .. date: 2019-09-10-14-21-40 |
| 1118 | .. nonce: --eIib |
| 1119 | .. section: Windows |
| 1120 | |
| 1121 | Fix case sensitivity in test_pathlib and test_ntpath. |
| 1122 | |
| 1123 | .. |
| 1124 | |
| 1125 | .. bpo: 38088 |
| 1126 | .. date: 2019-09-10-14-17-25 |
| 1127 | .. nonce: FOvWSM |
| 1128 | .. section: Windows |
| 1129 | |
| 1130 | Fixes distutils not finding vcruntime140.dll with only the v142 toolset |
| 1131 | installed. |
| 1132 | |
| 1133 | .. |
| 1134 | |
| 1135 | .. bpo: 37283 |
| 1136 | .. date: 2019-09-09-12-22-23 |
| 1137 | .. nonce: 8NvOkU |
| 1138 | .. section: Windows |
| 1139 | |
| 1140 | Ensure command-line and unattend.xml setting override previously detected |
| 1141 | states in Windows installer. |
| 1142 | |
| 1143 | .. |
| 1144 | |
| 1145 | .. bpo: 38030 |
| 1146 | .. date: 2019-09-04-14-01-08 |
| 1147 | .. nonce: _USdtk |
| 1148 | .. section: Windows |
| 1149 | |
| 1150 | Fixes :func:`os.stat` failing for block devices on Windows |
| 1151 | |
| 1152 | .. |
| 1153 | |
| 1154 | .. bpo: 38020 |
| 1155 | .. date: 2019-09-03-11-47-37 |
| 1156 | .. nonce: xFZ2j0 |
| 1157 | .. section: Windows |
| 1158 | |
| 1159 | Fixes potential crash when calling :func:`os.readlink` (or indirectly |
| 1160 | through :func:`~os.path.realpath`) on a file that is not a supported link. |
| 1161 | |
| 1162 | .. |
| 1163 | |
| 1164 | .. bpo: 37705 |
| 1165 | .. date: 2019-08-30-15-15-22 |
| 1166 | .. nonce: 2o4NWW |
| 1167 | .. section: Windows |
| 1168 | |
| 1169 | Improve the implementation of ``winerror_to_errno()``. |
| 1170 | |
| 1171 | .. |
| 1172 | |
| 1173 | .. bpo: 37702 |
| 1174 | .. date: 2019-07-29-16-49-31 |
| 1175 | .. nonce: Lj2f5e |
| 1176 | .. section: Windows |
| 1177 | |
| 1178 | Fix memory leak on Windows in creating an SSLContext object or running |
| 1179 | urllib.request.urlopen('https://...'). |
| 1180 | |
| 1181 | .. |
| 1182 | |
| 1183 | .. bpo: 37445 |
| 1184 | .. date: 2019-06-28-18-10-29 |
| 1185 | .. nonce: LsdYO6 |
| 1186 | .. section: Windows |
| 1187 | |
| 1188 | Include the ``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in ``FormatMessageW()`` |
| 1189 | calls. |
| 1190 | |
| 1191 | .. |
| 1192 | |
| 1193 | .. bpo: 37380 |
| 1194 | .. date: 2019-06-25-04-15-22 |
| 1195 | .. nonce: tPxjuz |
| 1196 | .. section: Windows |
| 1197 | |
| 1198 | Don't collect unfinished processes with ``subprocess._active`` on Windows to |
| 1199 | cleanup later. Patch by Ruslan Kuprieiev. |
| 1200 | |
| 1201 | .. |
| 1202 | |
| 1203 | .. bpo: 32587 |
| 1204 | .. date: 2019-05-10-15-25-44 |
| 1205 | .. nonce: -0g2O3 |
| 1206 | .. section: Windows |
| 1207 | |
| 1208 | Make :data:`winreg.REG_MULTI_SZ` support zero-length strings. |
| 1209 | |
| 1210 | .. |
| 1211 | |
| 1212 | .. bpo: 38117 |
| 1213 | .. date: 2019-09-15-21-29-13 |
| 1214 | .. nonce: ZLsoAZ |
| 1215 | .. section: macOS |
| 1216 | |
| 1217 | Updated OpenSSL to 1.1.1d in macOS installer. |
| 1218 | |
| 1219 | .. |
| 1220 | |
| 1221 | .. bpo: 38089 |
| 1222 | .. date: 2019-09-10-14-24-35 |
| 1223 | .. nonce: eedgyD |
| 1224 | .. section: macOS |
| 1225 | |
| 1226 | Move Azure Pipelines to latest VM versions and make macOS tests optional |
| 1227 | |
| 1228 | .. |
| 1229 | |
| 1230 | .. bpo: 35379 |
| 1231 | .. date: 2019-09-17-01-28-56 |
| 1232 | .. nonce: yAECDr |
| 1233 | .. section: IDLE |
| 1234 | |
| 1235 | When exiting IDLE, catch any AttributeError. One happens when |
| 1236 | EditorWindow.close is called twice. Printing a traceback, when IDLE is run |
| 1237 | from a terminal, is useless and annoying. |
| 1238 | |
| 1239 | .. |
| 1240 | |
| 1241 | .. bpo: 38183 |
| 1242 | .. date: 2019-09-16-15-04-29 |
| 1243 | .. nonce: eudCN1 |
| 1244 | .. section: IDLE |
| 1245 | |
| 1246 | To avoid problems, test_idle ignores the user config directory. It no longer |
| 1247 | tries to create or access .idlerc or any files within. Users must run IDLE |
| 1248 | to discover problems with saving settings. |
| 1249 | |
| 1250 | .. |
| 1251 | |
| 1252 | .. bpo: 38077 |
| 1253 | .. date: 2019-09-09-22-08-36 |
| 1254 | .. nonce: Mzpfe2 |
| 1255 | .. section: IDLE |
| 1256 | |
| 1257 | IDLE no longer adds 'argv' to the user namespace when initializing it. This |
| 1258 | bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4. |
| 1259 | |
| 1260 | .. |
| 1261 | |
| 1262 | .. bpo: 38041 |
| 1263 | .. date: 2019-09-05-23-12-13 |
| 1264 | .. nonce: nxmGGK |
| 1265 | .. section: IDLE |
| 1266 | |
| 1267 | Shell restart lines now fill the window width, always start with '=', and |
| 1268 | avoid wrapping unnecessarily. The line will still wrap if the included file |
| 1269 | name is long relative to the width. |
| 1270 | |
| 1271 | .. |
| 1272 | |
| 1273 | .. bpo: 35771 |
| 1274 | .. date: 2019-09-01-10-22-55 |
| 1275 | .. nonce: tdbmbP |
| 1276 | .. section: IDLE |
| 1277 | |
| 1278 | To avoid occasional spurious test_idle failures on slower machines, increase |
| 1279 | the ``hover_delay`` in test_tooltip. |
| 1280 | |
| 1281 | .. |
| 1282 | |
| 1283 | .. bpo: 37902 |
| 1284 | .. date: 2019-08-21-16-02-49 |
| 1285 | .. nonce: _R_adE |
| 1286 | .. section: IDLE |
| 1287 | |
| 1288 | Add mousewheel scrolling for IDLE module, path, and stack browsers. Patch by |
| 1289 | George Zhang. |
| 1290 | |
| 1291 | .. |
| 1292 | |
| 1293 | .. bpo: 37803 |
| 1294 | .. date: 2019-09-12-16-15-55 |
| 1295 | .. nonce: chEizy |
| 1296 | .. section: Tools/Demos |
| 1297 | |
| 1298 | pdb's ``--help`` and ``--version`` long options now work. |
| 1299 | |
| 1300 | .. |
| 1301 | |
| 1302 | .. bpo: 37064 |
| 1303 | .. date: 2019-05-27-15-26-12 |
| 1304 | .. nonce: k_SPW2 |
| 1305 | .. section: Tools/Demos |
| 1306 | |
| 1307 | Add option -k to pathscript.py script: preserve shebang flags. Add option -a |
| 1308 | to pathscript.py script: add flags. |
| 1309 | |
| 1310 | .. |
| 1311 | |
| 1312 | .. bpo: 38234 |
| 1313 | .. date: 2019-09-24-17-09-48 |
| 1314 | .. nonce: d0bhEA |
| 1315 | .. section: C API |
| 1316 | |
| 1317 | :c:func:`Py_SetPath` now sets :data:`sys.executable` to the program full |
| 1318 | path (:c:func:`Py_GetProgramFullPath`) rather than to the program name |
| 1319 | (:c:func:`Py_GetProgramName`). |
| 1320 | |
| 1321 | .. |
| 1322 | |
| 1323 | .. bpo: 38234 |
| 1324 | .. date: 2019-09-20-17-22-41 |
| 1325 | .. nonce: ZbquVK |
| 1326 | .. section: C API |
| 1327 | |
| 1328 | Python ignored arguments passed to :c:func:`Py_SetPath`, |
| 1329 | :c:func:`Py_SetPythonHome` and :c:func:`Py_SetProgramName`: fix Python |
| 1330 | initialization to use specified arguments. |
| 1331 | |
| 1332 | .. |
| 1333 | |
| 1334 | .. bpo: 38205 |
| 1335 | .. date: 2019-09-19-18-26-29 |
| 1336 | .. nonce: Db1OJL |
| 1337 | .. section: C API |
| 1338 | |
| 1339 | The :c:func:`Py_UNREACHABLE` macro now calls :c:func:`Py_FatalError`. |
| 1340 | |
| 1341 | .. |
| 1342 | |
| 1343 | .. bpo: 37879 |
| 1344 | .. date: 2019-08-17-13-50-21 |
| 1345 | .. nonce: CZeUem |
| 1346 | .. section: C API |
| 1347 | |
| 1348 | Fix subtype_dealloc to suppress the type decref when the base type is a C |
| 1349 | heap type |