Ćukasz Langa | 21dd01d | 2019-07-04 12:50:19 +0200 | [diff] [blame] | 1 | .. bpo: 37363 |
| 2 | .. date: 2019-07-01-10-31-14 |
| 3 | .. nonce: fSjatj |
| 4 | .. release date: 2019-07-04 |
| 5 | .. section: Security |
| 6 | |
| 7 | Adds audit events for the range of supported run commands (see |
| 8 | :ref:`using-on-general`). |
| 9 | |
| 10 | .. |
| 11 | |
| 12 | .. bpo: 37463 |
| 13 | .. date: 2019-07-01-08-46-14 |
| 14 | .. nonce: 1CHwjE |
| 15 | .. section: Security |
| 16 | |
| 17 | ssl.match_hostname() no longer accepts IPv4 addresses with additional text |
| 18 | after the address and only quad-dotted notation without trailing |
| 19 | whitespaces. Some inet_aton() implementations ignore whitespace and all data |
| 20 | after whitespace, e.g. '127.0.0.1 whatever'. |
| 21 | |
| 22 | .. |
| 23 | |
| 24 | .. bpo: 37363 |
| 25 | .. date: 2019-06-21-15-58-59 |
| 26 | .. nonce: diouyl |
| 27 | .. section: Security |
| 28 | |
| 29 | Adds audit events for :mod:`ensurepip`, :mod:`ftplib`, :mod:`glob`, |
| 30 | :mod:`imaplib`, :mod:`nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:`shutil`, |
| 31 | :mod:`smtplib`, :mod:`sqlite3`, :mod:`subprocess`, :mod:`telnetlib`, |
| 32 | :mod:`tempfile` and :mod:`webbrowser`, as well as :func:`os.listdir`, |
| 33 | :func:`os.scandir` and :func:`breakpoint`. |
| 34 | |
| 35 | .. |
| 36 | |
| 37 | .. bpo: 37364 |
| 38 | .. date: 2019-06-21-14-42-53 |
| 39 | .. nonce: IIRc2s |
| 40 | .. section: Security |
| 41 | |
| 42 | :func:`io.open_code` is now used when reading :file:`.pth` files. |
| 43 | |
| 44 | .. |
| 45 | |
| 46 | .. bpo: 34631 |
| 47 | .. date: 2019-06-17-09-34-25 |
| 48 | .. nonce: DBfM4j |
| 49 | .. section: Security |
| 50 | |
| 51 | Updated OpenSSL to 1.1.1c in Windows installer |
| 52 | |
| 53 | .. |
| 54 | |
| 55 | .. bpo: 37467 |
| 56 | .. date: 2019-07-01-12-22-44 |
| 57 | .. nonce: u-XyEu |
| 58 | .. section: Core and Builtins |
| 59 | |
| 60 | Fix :func:`sys.excepthook` and :c:func:`PyErr_Display` if a filename is a |
| 61 | bytes string. For example, for a SyntaxError exception where the filename |
| 62 | attribute is a bytes string. |
| 63 | |
| 64 | .. |
| 65 | |
| 66 | .. bpo: 37417 |
| 67 | .. date: 2019-06-26-18-41-00 |
| 68 | .. nonce: VsZeHL |
| 69 | .. section: Core and Builtins |
| 70 | |
| 71 | :meth:`bytearray.extend` now correctly handles errors that arise during |
| 72 | iteration. Patch by Brandt Bucher. |
| 73 | |
| 74 | .. |
| 75 | |
| 76 | .. bpo: 24214 |
| 77 | .. date: 2019-06-22-12-45-20 |
| 78 | .. nonce: hIiHeD |
| 79 | .. section: Core and Builtins |
| 80 | |
| 81 | Improved support of the surrogatepass error handler in the UTF-8 and UTF-16 |
| 82 | incremental decoders. |
| 83 | |
| 84 | .. |
| 85 | |
| 86 | .. bpo: 35224 |
| 87 | .. date: 2019-06-17-06-03-55 |
| 88 | .. nonce: FHWPGv |
| 89 | .. section: Core and Builtins |
| 90 | |
| 91 | Reverse evaluation order of key: value in dict comprehensions as proposed in |
| 92 | PEP 572. I.e. in ``{k: v for ...}``, ``k`` will be evaluated before ``v``. |
| 93 | |
| 94 | .. |
| 95 | |
| 96 | .. bpo: 37316 |
| 97 | .. date: 2019-06-17-03-53-16 |
| 98 | .. nonce: LytDX_ |
| 99 | .. section: Core and Builtins |
| 100 | |
| 101 | Fix the :c:func:`PySys_Audit` call in :class:`mmap.mmap`. |
| 102 | |
| 103 | .. |
| 104 | |
| 105 | .. bpo: 37269 |
| 106 | .. date: 2019-06-14-06-32-33 |
| 107 | .. nonce: SjVVAe |
| 108 | .. section: Core and Builtins |
| 109 | |
| 110 | Fix a bug in the peephole optimizer that was not treating correctly constant |
| 111 | conditions with binary operators. Patch by Pablo Galindo. |
| 112 | |
| 113 | .. |
| 114 | |
| 115 | .. bpo: 37213 |
| 116 | .. date: 2019-06-11-11-15-19 |
| 117 | .. nonce: UPii5K |
| 118 | .. section: Core and Builtins |
| 119 | |
| 120 | Handle correctly negative line offsets in the peephole optimizer. Patch by |
| 121 | Pablo Galindo. |
| 122 | |
| 123 | .. |
| 124 | |
| 125 | .. bpo: 37219 |
| 126 | .. date: 2019-06-10-23-18-31 |
| 127 | .. nonce: jPSufq |
| 128 | .. section: Core and Builtins |
| 129 | |
| 130 | Remove errorneous optimization for empty set differences. |
| 131 | |
| 132 | .. |
| 133 | |
| 134 | .. bpo: 36922 |
| 135 | .. date: 2019-06-06-13-59-52 |
| 136 | .. nonce: EMZ3TF |
| 137 | .. section: Core and Builtins |
| 138 | |
| 139 | Slot functions optimize any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR`` |
| 140 | instead of only instances of ``function``. |
| 141 | |
| 142 | .. |
| 143 | |
| 144 | .. bpo: 36974 |
| 145 | .. date: 2019-06-06-11-00-55 |
| 146 | .. nonce: wdzzym |
| 147 | .. section: Core and Builtins |
| 148 | |
| 149 | The slot ``tp_vectorcall_offset`` is inherited unconditionally to support |
| 150 | ``super().__call__()`` when the base class uses vectorcall. |
| 151 | |
| 152 | .. |
| 153 | |
| 154 | .. bpo: 37160 |
| 155 | .. date: 2019-06-05-09-24-17 |
| 156 | .. nonce: O3IAY3 |
| 157 | .. section: Core and Builtins |
| 158 | |
| 159 | :func:`threading.get_native_id` now also supports NetBSD. |
| 160 | |
| 161 | .. |
| 162 | |
| 163 | .. bpo: 37077 |
| 164 | .. date: 2019-05-28-11-47-44 |
| 165 | .. nonce: S1h0Fc |
| 166 | .. section: Core and Builtins |
| 167 | |
| 168 | Add :func:`threading.get_native_id` support for AIX. Patch by M. Felt |
| 169 | |
| 170 | .. |
| 171 | |
| 172 | .. bpo: 37440 |
| 173 | .. date: 2019-06-28-16-40-17 |
| 174 | .. nonce: t3wX-N |
| 175 | .. section: Library |
| 176 | |
| 177 | http.client now enables TLS 1.3 post-handshake authentication for default |
| 178 | context or if a cert_file is passed to HTTPSConnection. |
| 179 | |
| 180 | .. |
| 181 | |
| 182 | .. bpo: 37437 |
| 183 | .. date: 2019-06-27-20-33-50 |
| 184 | .. nonce: du39_A |
| 185 | .. section: Library |
| 186 | |
| 187 | Update vendorized expat version to 2.2.7. |
| 188 | |
| 189 | .. |
| 190 | |
| 191 | .. bpo: 37428 |
| 192 | .. date: 2019-06-27-13-27-02 |
| 193 | .. nonce: _wcwUd |
| 194 | .. section: Library |
| 195 | |
| 196 | SSLContext.post_handshake_auth = True no longer sets |
| 197 | SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the |
| 198 | option is documented as ignored for clients, OpenSSL implicitly enables cert |
| 199 | chain validation when the flag is set. |
| 200 | |
| 201 | .. |
| 202 | |
| 203 | .. bpo: 37420 |
| 204 | .. date: 2019-06-26-22-25-05 |
| 205 | .. nonce: CxFJ09 |
| 206 | .. section: Library |
| 207 | |
| 208 | :func:`os.sched_setaffinity` now correctly handles errors that arise during |
| 209 | iteration over its ``mask`` argument. Patch by Brandt Bucher. |
| 210 | |
| 211 | .. |
| 212 | |
| 213 | .. bpo: 37412 |
| 214 | .. date: 2019-06-26-16-28-59 |
| 215 | .. nonce: lx0VjC |
| 216 | .. section: Library |
| 217 | |
| 218 | The :func:`os.getcwdb` function now uses the UTF-8 encoding on Windows, |
| 219 | rather than the ANSI code page: see :pep:`529` for the rationale. The |
| 220 | function is no longer deprecated on Windows. |
| 221 | |
| 222 | .. |
| 223 | |
| 224 | .. bpo: 29412 |
| 225 | .. date: 2019-06-25-19-27-25 |
| 226 | .. nonce: n4Zqdh |
| 227 | .. section: Library |
| 228 | |
| 229 | Fix IndexError in parsing a header value ending unexpectedly. Patch by |
| 230 | Abhilash Raj. |
| 231 | |
| 232 | .. |
| 233 | |
| 234 | .. bpo: 36546 |
| 235 | .. date: 2019-06-25-05-07-48 |
| 236 | .. nonce: RUcxaK |
| 237 | .. section: Library |
| 238 | |
| 239 | The *dist* argument for statistics.quantiles() is now positional only. The |
| 240 | current name doesn't reflect that the argument can be either a dataset or a |
| 241 | distribution. Marking the parameter as positional avoids confusion and |
| 242 | makes it possible to change the name later. |
| 243 | |
| 244 | .. |
| 245 | |
| 246 | .. bpo: 37394 |
| 247 | .. date: 2019-06-25-02-10-00 |
| 248 | .. nonce: srZ1zx |
| 249 | .. section: Library |
| 250 | |
| 251 | Fix a bug that was causing the :mod:`queue` module to fail if the |
| 252 | accelerator module was not available. Patch by Pablo Galindo. |
| 253 | |
| 254 | .. |
| 255 | |
| 256 | .. bpo: 33972 |
| 257 | .. date: 2019-06-15-14-39-50 |
| 258 | .. nonce: XxnNPw |
| 259 | .. section: Library |
| 260 | |
| 261 | Email with single part but content-type set to ``multipart/*`` doesn't raise |
| 262 | AttributeError anymore. |
| 263 | |
| 264 | .. |
| 265 | |
| 266 | .. bpo: 37280 |
| 267 | .. date: 2019-06-14-13-30-47 |
| 268 | .. nonce: Fxur0F |
| 269 | .. section: Library |
| 270 | |
| 271 | Use threadpool for reading from file for sendfile fallback mode. |
| 272 | |
| 273 | .. |
| 274 | |
| 275 | .. bpo: 37279 |
| 276 | .. date: 2019-06-14-13-25-56 |
| 277 | .. nonce: OHlW6l |
| 278 | .. section: Library |
| 279 | |
| 280 | Fix asyncio sendfile support when sendfile sends extra data in fallback |
| 281 | mode. |
| 282 | |
| 283 | .. |
| 284 | |
| 285 | .. bpo: 19865 |
| 286 | .. date: 2019-06-14-08-30-16 |
| 287 | .. nonce: FRGH4I |
| 288 | .. section: Library |
| 289 | |
| 290 | :func:`ctypes.create_unicode_buffer()` now also supports non-BMP characters |
| 291 | on platforms with 16-bit :c:type:`wchar_t` (for example, Windows and AIX). |
| 292 | |
| 293 | .. |
| 294 | |
| 295 | .. bpo: 37210 |
| 296 | .. date: 2019-06-12-16-10-50 |
| 297 | .. nonce: r4yMg6 |
| 298 | .. section: Library |
| 299 | |
| 300 | Allow pure Python implementation of :mod:`pickle` to work even when the C |
| 301 | :mod:`_pickle` module is unavailable. |
| 302 | |
| 303 | .. |
| 304 | |
| 305 | .. bpo: 35922 |
| 306 | .. date: 2019-06-11-19-34-29 |
| 307 | .. nonce: rxpzWr |
| 308 | .. section: Library |
| 309 | |
| 310 | Fix :meth:`RobotFileParser.crawl_delay` and |
| 311 | :meth:`RobotFileParser.request_rate` to return ``None`` rather than raise |
| 312 | :exc:`AttributeError` when no relevant rule is defined in the robots.txt |
| 313 | file. Patch by RĂ©mi Lapeyre. |
| 314 | |
| 315 | .. |
| 316 | |
| 317 | .. bpo: 35766 |
| 318 | .. date: 2019-06-11-16-41-40 |
| 319 | .. nonce: v1Kj-T |
| 320 | .. section: Library |
| 321 | |
| 322 | Change the format of feature_version to be a (major, minor) tuple. |
| 323 | |
| 324 | .. |
| 325 | |
| 326 | .. bpo: 36607 |
| 327 | .. date: 2019-06-11-13-52-04 |
| 328 | .. nonce: 5_mJkQ |
| 329 | .. section: Library |
| 330 | |
| 331 | Eliminate :exc:`RuntimeError` raised by :func:`asyncio.all_tasks()` if |
| 332 | internal tasks weak set is changed by another thread during iteration. |
| 333 | |
| 334 | .. |
| 335 | |
| 336 | .. bpo: 18748 |
| 337 | .. date: 2019-06-11-01-54-19 |
| 338 | .. nonce: ADqCkq |
| 339 | .. section: Library |
| 340 | |
| 341 | :class:`_pyio.IOBase` destructor now does nothing if getting the ``closed`` |
| 342 | attribute fails to better mimick :class:`_io.IOBase` finalizer. |
| 343 | |
| 344 | .. |
| 345 | |
| 346 | .. bpo: 36402 |
| 347 | .. date: 2019-06-11-00-35-02 |
| 348 | .. nonce: b0IJVp |
| 349 | .. section: Library |
| 350 | |
| 351 | Fix a race condition at Python shutdown when waiting for threads. Wait until |
| 352 | the Python thread state of all non-daemon threads get deleted (join all |
| 353 | non-daemon threads), rather than just wait until non-daemon Python threads |
| 354 | complete. |
| 355 | |
| 356 | .. |
| 357 | |
| 358 | .. bpo: 34886 |
| 359 | .. date: 2019-06-08-16-03-19 |
| 360 | .. nonce: Ov-pc9 |
| 361 | .. section: Library |
| 362 | |
| 363 | Fix an unintended ValueError from :func:`subprocess.run` when checking for |
| 364 | conflicting `input` and `stdin` or `capture_output` and `stdout` or `stderr` |
| 365 | args when they were explicitly provided but with `None` values within a |
| 366 | passed in `**kwargs` dict rather than as passed directly by name. Patch |
| 367 | contributed by RĂ©mi Lapeyre. |
| 368 | |
| 369 | .. |
| 370 | |
| 371 | .. bpo: 37173 |
| 372 | .. date: 2019-06-08-11-33-48 |
| 373 | .. nonce: 0e_8gS |
| 374 | .. section: Library |
| 375 | |
| 376 | The exception message for ``inspect.getfile()`` now correctly reports the |
| 377 | passed class rather than the builtins module. |
| 378 | |
| 379 | .. |
| 380 | |
| 381 | .. bpo: 37178 |
| 382 | .. date: 2019-06-07-17-16-09 |
| 383 | .. nonce: Day_oB |
| 384 | .. section: Library |
| 385 | |
| 386 | Give math.perm() a one argument form that means the same as |
| 387 | math.factorial(). |
| 388 | |
| 389 | .. |
| 390 | |
| 391 | .. bpo: 37178 |
| 392 | .. date: 2019-06-07-17-11-34 |
| 393 | .. nonce: b1StSv |
| 394 | .. section: Library |
| 395 | |
| 396 | For math.perm(n, k), let k default to n, giving the same result as |
| 397 | factorial. |
| 398 | |
| 399 | .. |
| 400 | |
| 401 | .. bpo: 37163 |
| 402 | .. date: 2019-06-07-08-18-05 |
| 403 | .. nonce: 36JkUh |
| 404 | .. section: Library |
| 405 | |
| 406 | Deprecated passing ``obj`` argument of :func:`dataclasses.replace` as |
| 407 | keyword argument. |
| 408 | |
| 409 | .. |
| 410 | |
| 411 | .. bpo: 37165 |
| 412 | .. date: 2019-06-05-11-48-19 |
| 413 | .. nonce: V_rwfE |
| 414 | .. section: Library |
| 415 | |
| 416 | Converted _collections._count_elements to use the Argument Clinic. |
| 417 | |
| 418 | .. |
| 419 | |
| 420 | .. bpo: 34767 |
| 421 | .. date: 2019-06-04-23-44-52 |
| 422 | .. nonce: BpDShN |
| 423 | .. section: Library |
| 424 | |
| 425 | Do not always create a :class:`collections.deque` in :class:`asyncio.Lock`. |
| 426 | |
| 427 | .. |
| 428 | |
| 429 | .. bpo: 37158 |
| 430 | .. date: 2019-06-04-22-25-38 |
| 431 | .. nonce: JKm15S |
| 432 | .. section: Library |
| 433 | |
| 434 | Speed-up statistics.fmean() by switching from a function to a generator. |
| 435 | |
| 436 | .. |
| 437 | |
| 438 | .. bpo: 37150 |
| 439 | .. date: 2019-06-04-14-44-41 |
| 440 | .. nonce: TTzHxj |
| 441 | .. section: Library |
| 442 | |
| 443 | `argparse._ActionsContainer.add_argument` now throws error, if someone |
| 444 | accidentally pass FileType class object instead of instance of FileType as |
| 445 | `type` argument |
| 446 | |
| 447 | .. |
| 448 | |
| 449 | .. bpo: 35621 |
| 450 | .. date: 2019-05-28-19-03-46 |
| 451 | .. nonce: Abc1lf |
| 452 | .. section: Library |
| 453 | |
| 454 | Support running asyncio subprocesses when execution event loop in a thread |
| 455 | on UNIX. |
| 456 | |
| 457 | .. |
| 458 | |
| 459 | .. bpo: 36520 |
| 460 | .. date: 2019-05-28-02-37-00 |
| 461 | .. nonce: W4tday |
| 462 | .. section: Library |
| 463 | |
| 464 | Lengthy email headers with UTF-8 characters are now properly encoded when |
| 465 | they are folded. Patch by Jeffrey Kintscher. |
| 466 | |
| 467 | .. |
| 468 | |
| 469 | .. bpo: 30835 |
| 470 | .. date: 2019-05-27-15-29-46 |
| 471 | .. nonce: 3FoaWH |
| 472 | .. section: Library |
| 473 | |
| 474 | Fixed a bug in email parsing where a message with invalid bytes in |
| 475 | content-transfer-encoding of a multipart message can cause an |
| 476 | AttributeError. Patch by Andrew Donnellan. |
| 477 | |
| 478 | .. |
| 479 | |
| 480 | .. bpo: 35805 |
| 481 | .. date: 2019-05-17-15-11-08 |
| 482 | .. nonce: E4YwYz |
| 483 | .. section: Library |
| 484 | |
| 485 | Add parser for Message-ID header and add it to default HeaderRegistry. This |
| 486 | should prevent folding of Message-ID using RFC 2048 encoded words. |
| 487 | |
| 488 | .. |
| 489 | |
| 490 | .. bpo: 35070 |
| 491 | .. date: 2019-05-09-18-50-55 |
| 492 | .. nonce: 4vaqNL |
| 493 | .. section: Library |
| 494 | |
| 495 | posix.getgrouplist() now works correctly when the user belongs to |
| 496 | NGROUPS_MAX supplemental groups. Patch by Jeffrey Kintscher. |
| 497 | |
| 498 | .. |
| 499 | |
| 500 | .. bpo: 32627 |
| 501 | .. date: 2019-02-03-19-13-08 |
| 502 | .. nonce: b68f64 |
| 503 | .. section: Library |
| 504 | |
| 505 | Fix compile error when ``_uuid`` headers conflicting included. |
| 506 | |
| 507 | .. |
| 508 | |
| 509 | .. bpo: 11122 |
| 510 | .. date: 2018-11-12-19-08-50 |
| 511 | .. nonce: Gj7BQn |
| 512 | .. section: Library |
| 513 | |
| 514 | Distutils won't check for rpmbuild in specified paths only. |
| 515 | |
| 516 | .. |
| 517 | |
| 518 | .. bpo: 4963 |
| 519 | .. date: 2017-08-15-11-24-41 |
| 520 | .. nonce: LRYres |
| 521 | .. section: Library |
| 522 | |
| 523 | Fixed non-deterministic behavior related to mimetypes extension mapping and |
| 524 | module reinitialization. |
| 525 | |
| 526 | .. |
| 527 | |
| 528 | .. bpo: 34903 |
| 529 | .. date: 2019-06-17-09-36-46 |
| 530 | .. nonce: r_wGRc |
| 531 | .. section: Documentation |
| 532 | |
| 533 | Documented that in :meth:`datetime.datetime.strptime()`, the leading zero in |
| 534 | some two-digit formats is optional. Patch by Mike Gleen. |
| 535 | |
| 536 | .. |
| 537 | |
| 538 | .. bpo: 37421 |
| 539 | .. date: 2019-07-03-00-05-28 |
| 540 | .. nonce: ORGRSG |
| 541 | .. section: Tests |
| 542 | |
| 543 | test_distutils.test_build_ext() is now able to remove the temporary |
| 544 | directory on Windows: don't import the newly built C extension ("xx") in the |
| 545 | current process, but test it in a separated process. |
| 546 | |
| 547 | .. |
| 548 | |
| 549 | .. bpo: 37421 |
| 550 | .. date: 2019-07-02-23-29-06 |
| 551 | .. nonce: WEfc5A |
| 552 | .. section: Tests |
| 553 | |
| 554 | test_concurrent_futures now cleans up multiprocessing to remove immediately |
| 555 | temporary directories created by multiprocessing.util.get_temp_dir(). |
| 556 | |
| 557 | .. |
| 558 | |
| 559 | .. bpo: 37421 |
| 560 | .. date: 2019-07-02-23-20-35 |
| 561 | .. nonce: HCkKWz |
| 562 | .. section: Tests |
| 563 | |
| 564 | test_winconsoleio doesn't leak a temporary file anymore: use |
| 565 | tempfile.TemporaryFile() to remove it when the test completes. |
| 566 | |
| 567 | .. |
| 568 | |
| 569 | .. bpo: 37421 |
| 570 | .. date: 2019-07-01-19-57-26 |
| 571 | .. nonce: NFH1f0 |
| 572 | .. section: Tests |
| 573 | |
| 574 | multiprocessing tests now explicitly call ``_run_finalizers()`` to |
| 575 | immediately remove temporary directories created by tests. |
| 576 | |
| 577 | .. |
| 578 | |
| 579 | .. bpo: 37199 |
| 580 | .. date: 2019-06-29-23-56-28 |
| 581 | .. nonce: FHDsLf |
| 582 | .. section: Tests |
| 583 | |
| 584 | Fix test failures when IPv6 is unavailable or disabled. |
| 585 | |
| 586 | .. |
| 587 | |
| 588 | .. bpo: 37335 |
| 589 | .. date: 2019-06-28-16-37-52 |
| 590 | .. nonce: o5S2hY |
| 591 | .. section: Tests |
| 592 | |
| 593 | Remove no longer necessary code from c locale coercion tests |
| 594 | |
| 595 | .. |
| 596 | |
| 597 | .. bpo: 37421 |
| 598 | .. date: 2019-06-27-00-37-59 |
| 599 | .. nonce: rVJb3x |
| 600 | .. section: Tests |
| 601 | |
| 602 | Fix test_shutil to no longer leak temporary files. |
| 603 | |
| 604 | .. |
| 605 | |
| 606 | .. bpo: 37411 |
| 607 | .. date: 2019-06-26-15-28-45 |
| 608 | .. nonce: 5lGNhM |
| 609 | .. section: Tests |
| 610 | |
| 611 | Fix test_wsgiref.testEnviron() to no longer depend on the environment |
| 612 | variables (don't fail if "X" variable is set). |
| 613 | |
| 614 | .. |
| 615 | |
| 616 | .. bpo: 37400 |
| 617 | .. date: 2019-06-25-16-02-43 |
| 618 | .. nonce: cx_EWv |
| 619 | .. section: Tests |
| 620 | |
| 621 | Fix test_os.test_chown(): use os.getgroups() rather than grp.getgrall() to |
| 622 | get groups. Rename also the test to test_chown_gid(). |
| 623 | |
| 624 | .. |
| 625 | |
| 626 | .. bpo: 37359 |
| 627 | .. date: 2019-06-24-10-47-07 |
| 628 | .. nonce: CkdtyO |
| 629 | .. section: Tests |
| 630 | |
| 631 | Add --cleanup option to python3 -m test to remove ``test_python_*`` |
| 632 | directories of previous failed jobs. Add "make cleantest" to run ``python3 |
| 633 | -m test --cleanup``. |
| 634 | |
| 635 | .. |
| 636 | |
| 637 | .. bpo: 37362 |
| 638 | .. date: 2019-06-21-15-47-33 |
| 639 | .. nonce: D3xppx |
| 640 | .. section: Tests |
| 641 | |
| 642 | test_gdb no longer fails if it gets an "unexpected" message on stderr: it |
| 643 | now ignores stderr. The purpose of test_gdb is to test that python-gdb.py |
| 644 | commands work as expected, not to test gdb. |
| 645 | |
| 646 | .. |
| 647 | |
| 648 | .. bpo: 35998 |
| 649 | .. date: 2019-06-14-17-05-49 |
| 650 | .. nonce: yX82oD |
| 651 | .. section: Tests |
| 652 | |
| 653 | Avoid TimeoutError in test_asyncio: test_start_tls_server_1() |
| 654 | |
| 655 | .. |
| 656 | |
| 657 | .. bpo: 37278 |
| 658 | .. date: 2019-06-14-12-21-47 |
| 659 | .. nonce: z0HUOr |
| 660 | .. section: Tests |
| 661 | |
| 662 | Fix test_asyncio ProactorLoopCtrlC: join the thread to prevent leaking a |
| 663 | running thread and leaking a reference. |
| 664 | |
| 665 | .. |
| 666 | |
| 667 | .. bpo: 37261 |
| 668 | .. date: 2019-06-13-12-19-56 |
| 669 | .. nonce: NuKFVo |
| 670 | .. section: Tests |
| 671 | |
| 672 | Fix :func:`test.support.catch_unraisable_exception`: its __exit__() method |
| 673 | now ignores unraisable exception raised when clearing its ``unraisable`` |
| 674 | attribute. |
| 675 | |
| 676 | .. |
| 677 | |
| 678 | .. bpo: 37169 |
| 679 | .. date: 2019-06-07-12-23-15 |
| 680 | .. nonce: yfXTFg |
| 681 | .. section: Tests |
| 682 | |
| 683 | Rewrite ``_PyObject_IsFreed()`` unit tests. |
| 684 | |
| 685 | .. |
| 686 | |
| 687 | .. bpo: 37153 |
| 688 | .. date: 2019-06-04-18-30-39 |
| 689 | .. nonce: 711INB |
| 690 | .. section: Tests |
| 691 | |
| 692 | ``test_venv.test_mutiprocessing()`` now explicitly calls |
| 693 | ``pool.terminate()`` to wait until the pool completes. |
| 694 | |
| 695 | .. |
| 696 | |
| 697 | .. bpo: 28009 |
| 698 | .. date: 2019-04-11-07-59-43 |
| 699 | .. nonce: s85urF |
| 700 | .. section: Tests |
| 701 | |
| 702 | Modify the test_uuid logic to test when a program is available AND can be |
| 703 | used to obtain a MACADDR as basis for an UUID. Patch by M. Felt |
| 704 | |
| 705 | .. |
| 706 | |
| 707 | .. bpo: 37189 |
| 708 | .. date: 2019-06-17-09-40-59 |
| 709 | .. nonce: j5ebdT |
| 710 | .. section: Build |
| 711 | |
| 712 | Many ``PyRun_XXX()`` functions like :c:func:`PyRun_String` were no longer |
| 713 | exported in ``libpython38.dll`` by mistake. Export them again to fix the ABI |
| 714 | compatibiliy. |
| 715 | |
| 716 | .. |
| 717 | |
| 718 | .. bpo: 10945 |
| 719 | .. date: 2019-07-01-12-38-48 |
| 720 | .. nonce: s0YBHG |
| 721 | .. section: Windows |
| 722 | |
| 723 | Officially drop support for creating bdist_wininst installers on non-Windows |
| 724 | systems. |
| 725 | |
| 726 | .. |
| 727 | |
| 728 | .. bpo: 37369 |
| 729 | .. date: 2019-06-28-09-44-08 |
| 730 | .. nonce: 1iVpxq |
| 731 | .. section: Windows |
| 732 | |
| 733 | Fixes path for :data:`sys.executable` when running from the Microsoft Store. |
| 734 | |
| 735 | .. |
| 736 | |
| 737 | .. bpo: 37351 |
| 738 | .. date: 2019-06-20-12-50-32 |
| 739 | .. nonce: asTnVW |
| 740 | .. section: Windows |
| 741 | |
| 742 | Removes libpython38.a from standard Windows distribution. |
| 743 | |
| 744 | .. |
| 745 | |
| 746 | .. bpo: 35360 |
| 747 | .. date: 2019-06-18-09-05-08 |
| 748 | .. nonce: tdqSmo |
| 749 | .. section: Windows |
| 750 | |
| 751 | Update Windows builds to use SQLite 3.28.0. |
| 752 | |
| 753 | .. |
| 754 | |
| 755 | .. bpo: 37267 |
| 756 | .. date: 2019-06-13-04-15-51 |
| 757 | .. nonce: Ygo5ef |
| 758 | .. section: Windows |
| 759 | |
| 760 | On Windows, :func:`os.dup` no longer creates an inheritable fd when handling |
| 761 | a character file. |
| 762 | |
| 763 | .. |
| 764 | |
| 765 | .. bpo: 36779 |
| 766 | .. date: 2019-06-11-15-41-34 |
| 767 | .. nonce: 0TMw6f |
| 768 | .. section: Windows |
| 769 | |
| 770 | Ensure ``time.tzname`` is correct on Windows when the active code page is |
| 771 | set to CP_UTF7 or CP_UTF8. |
| 772 | |
| 773 | .. |
| 774 | |
| 775 | .. bpo: 34602 |
| 776 | .. date: 2019-07-02-01-06-47 |
| 777 | .. nonce: 10d4wl |
| 778 | .. section: macOS |
| 779 | |
| 780 | Avoid test suite failures on macOS by no longer calling resource.setrlimit |
| 781 | to increase the process stack size limit at runtime. The runtime change is |
| 782 | no longer needed since the interpreter is being built with a larger default |
| 783 | stack size. |
| 784 | |
| 785 | .. |
| 786 | |
| 787 | .. bpo: 35360 |
| 788 | .. date: 2019-06-18-08-58-30 |
| 789 | .. nonce: -CWbfy |
| 790 | .. section: macOS |
| 791 | |
| 792 | Update macOS installer to use SQLite 3.28.0. |
| 793 | |
| 794 | .. |
| 795 | |
| 796 | .. bpo: 34631 |
| 797 | .. date: 2019-06-18-00-30-40 |
| 798 | .. nonce: vSifcv |
| 799 | .. section: macOS |
| 800 | |
| 801 | Updated OpenSSL to 1.1.1c in macOS installer. |
| 802 | |
| 803 | .. |
| 804 | |
| 805 | .. bpo: 37325 |
| 806 | .. date: 2019-06-18-16-40-05 |
| 807 | .. nonce: GssOf1 |
| 808 | .. section: IDLE |
| 809 | |
| 810 | Fix tab focus traversal order for help source and custom run dialogs. |
| 811 | |
| 812 | .. |
| 813 | |
| 814 | .. bpo: 37321 |
| 815 | .. date: 2019-06-17-16-35-30 |
| 816 | .. nonce: zVTTGS |
| 817 | .. section: IDLE |
| 818 | |
| 819 | Both subprocess connection error messages now refer to the 'Startup failure' |
| 820 | section of the IDLE doc. |
| 821 | |
| 822 | .. |
| 823 | |
| 824 | .. bpo: 37177 |
| 825 | .. date: 2019-06-07-00-17-41 |
| 826 | .. nonce: voU6pQ |
| 827 | .. section: IDLE |
| 828 | |
| 829 | Properly 'attach' search dialogs to their main window so that they behave |
| 830 | like other dialogs and do not get hidden behind their main window. |
| 831 | |
| 832 | .. |
| 833 | |
| 834 | .. bpo: 37039 |
| 835 | .. date: 2019-06-04-23-27-33 |
| 836 | .. nonce: FN_fBf |
| 837 | .. section: IDLE |
| 838 | |
| 839 | Adjust "Zoom Height" to individual screens by momemtarily maximizing the |
| 840 | window on first use with a particular screen. Changing screen settings may |
| 841 | invalidate the saved height. While a window is maximized, "Zoom Height" has |
| 842 | no effect. |
| 843 | |
| 844 | .. |
| 845 | |
| 846 | .. bpo: 35763 |
| 847 | .. date: 2019-06-04-20-36-24 |
| 848 | .. nonce: 7XdoWz |
| 849 | .. section: IDLE |
| 850 | |
| 851 | Make calltip reminder about '/' meaning positional-only less obtrusive by |
| 852 | only adding it when there is room on the first line. |
| 853 | |
| 854 | .. |
| 855 | |
| 856 | .. bpo: 5680 |
| 857 | .. date: 2019-06-03-00-39-29 |
| 858 | .. nonce: VCQfOO |
| 859 | .. section: IDLE |
| 860 | |
| 861 | Add 'Run... Customized' to the Run menu to run a module with customized |
| 862 | settings. Any 'command line arguments' entered are added to sys.argv. One |
| 863 | can suppress the normal Shell main module restart. |
| 864 | |
| 865 | .. |
| 866 | |
| 867 | .. bpo: 36763 |
| 868 | .. date: 2019-06-28-15-49-16 |
| 869 | .. nonce: zrmgki |
| 870 | .. section: C API |
| 871 | |
| 872 | Add :func:`PyConfig_SetWideStringList` function. |
| 873 | |
| 874 | .. |
| 875 | |
| 876 | .. bpo: 28805 |
| 877 | .. date: 2019-06-14-14-03-51 |
| 878 | .. nonce: qZC0N_ |
| 879 | .. section: C API |
| 880 | |
| 881 | The :const:`METH_FASTCALL` calling convention has been documented. |
| 882 | |
| 883 | .. |
| 884 | |
| 885 | .. bpo: 37221 |
| 886 | .. date: 2019-06-12-11-45-36 |
| 887 | .. nonce: RhP1E7 |
| 888 | .. section: C API |
| 889 | |
| 890 | ``tp_print`` is put back at the end of the ``PyTypeObject`` structure to |
| 891 | restore support for old code (in particular generated by Cython) setting |
| 892 | ``tp_print = 0``. Note that ``tp_print`` will be removed entirely in Python |
| 893 | 3.9. |
| 894 | |
| 895 | .. |
| 896 | |
| 897 | .. bpo: 37221 |
| 898 | .. date: 2019-06-11-02-50-38 |
| 899 | .. nonce: 4tClQT |
| 900 | .. section: C API |
| 901 | |
| 902 | The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create code |
| 903 | objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* |
| 904 | parameter for indicating the number of positonal-only arguments. |
| 905 | |
| 906 | .. |
| 907 | |
| 908 | .. bpo: 37215 |
| 909 | .. date: 2019-06-10-15-32-34 |
| 910 | .. nonce: yzoNyU |
| 911 | .. section: C API |
| 912 | |
| 913 | Fix dtrace issue introduce by bpo-36842 |
| 914 | |
| 915 | .. |
| 916 | |
| 917 | .. bpo: 37191 |
| 918 | .. date: 2019-06-07-10-47-37 |
| 919 | .. nonce: iGL1_K |
| 920 | .. section: C API |
| 921 | |
| 922 | Python.h does not need compiler support for intermingled declarations (GCC's |
| 923 | ``-Wdeclaration-after-statement``), which were added in 3.8.0 Beta 1. Note |
| 924 | that in Python 3.9, intermingled declarations will be needed again. |
| 925 | |
| 926 | .. |
| 927 | |
| 928 | .. bpo: 37170 |
| 929 | .. date: 2019-06-06-08-47-04 |
| 930 | .. nonce: hO_fpM |
| 931 | .. section: C API |
| 932 | |
| 933 | Fix the cast on error in :c:func:`PyLong_AsUnsignedLongLongMask()`. |