Home | History | Annotate | Download | only in NEWS.d
      1 
      2 .. bpo: 36216
      3 .. date: 2019-03-06-09-38-40
      4 .. nonce: 6q1m4a
      5 .. release date: 2019-03-12
      6 .. section: Security
      7 
      8 Changes urlsplit() to raise ValueError when the URL contains characters that
      9 decompose under IDNA encoding (NFKC-normalization) into characters that
     10 affect how the URL is parsed.
     11 
     12 ..
     13 
     14 .. bpo: 35746
     15 .. date: 2019-01-15-18-16-05
     16 .. nonce: nMSd0j
     17 .. section: Security
     18 
     19 [CVE-2019-5010] Fix a NULL pointer deref in ssl module. The cert parser did
     20 not handle CRL distribution points with empty DP or URI correctly. A
     21 malicious or buggy certificate can result into segfault. Vulnerability
     22 (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of Cisco.
     23 
     24 ..
     25 
     26 .. bpo: 35121
     27 .. date: 2018-10-31-15-39-17
     28 .. nonce: EgHv9k
     29 .. section: Security
     30 
     31 Don't send cookies of domain A without Domain attribute to domain B when
     32 domain A is a suffix match of domain B while using a cookiejar with
     33 :class:`http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan
     34 Singaravelan.
     35 
     36 ..
     37 
     38 .. bpo: 35942
     39 .. date: 2019-02-18-09-30-55
     40 .. nonce: oLhL2v
     41 .. section: Core and Builtins
     42 
     43 The error message emitted when returning invalid types from ``__fspath__``
     44 in interfaces that allow passing :class:`~os.PathLike` objects has been
     45 improved and now it does explain the origin of the error.
     46 
     47 ..
     48 
     49 .. bpo: 35992
     50 .. date: 2019-02-14-12-01-44
     51 .. nonce: nG9e2L
     52 .. section: Core and Builtins
     53 
     54 Fix ``__class_getitem__()`` not being called on a class with a custom
     55 non-subscriptable metaclass.
     56 
     57 ..
     58 
     59 .. bpo: 35991
     60 .. date: 2019-02-14-00-00-30
     61 .. nonce: xlbfSk
     62 .. section: Core and Builtins
     63 
     64 Fix a potential double free in Modules/_randommodule.c.
     65 
     66 ..
     67 
     68 .. bpo: 35961
     69 .. date: 2019-02-12-20-16-34
     70 .. nonce: 7f7Sne
     71 .. section: Core and Builtins
     72 
     73 Fix a crash in slice_richcompare(): use strong references rather than stolen
     74 references for the two temporary internal tuples.
     75 
     76 ..
     77 
     78 .. bpo: 31506
     79 .. date: 2019-01-22-02-06-39
     80 .. nonce: eJ5FpV
     81 .. section: Core and Builtins
     82 
     83 Clarify the errors reported when ``object.__new__`` and ``object.__init__``
     84 receive more than one argument. Contributed by Sanyam Khurana.
     85 
     86 ..
     87 
     88 .. bpo: 35720
     89 .. date: 2019-01-12-23-33-04
     90 .. nonce: LELKQx
     91 .. section: Core and Builtins
     92 
     93 Fixed a minor memory leak in pymain_parse_cmdline_impl function in
     94 Modules/main.c
     95 
     96 ..
     97 
     98 .. bpo: 35623
     99 .. date: 2018-12-31-02-37-20
    100 .. nonce: 24AQhY
    101 .. section: Core and Builtins
    102 
    103 Fix a crash when sorting very long lists. Patch by Stephan Hohe.
    104 
    105 ..
    106 
    107 .. bpo: 35214
    108 .. date: 2018-12-30-15-36-23
    109 .. nonce: GWDQcv
    110 .. section: Core and Builtins
    111 
    112 clang Memory Sanitizer build instrumentation was added to work around false
    113 positives from posix, socket, time, test_io, and test_faulthandler.
    114 
    115 ..
    116 
    117 .. bpo: 35560
    118 .. date: 2018-12-22-22-19-51
    119 .. nonce: 9vMWSP
    120 .. section: Core and Builtins
    121 
    122 Fix an assertion error in :func:`format` in debug build for floating point
    123 formatting with "n" format, zero padding and small width. Release build is
    124 not impacted. Patch by Karthikeyan Singaravelan.
    125 
    126 ..
    127 
    128 .. bpo: 35552
    129 .. date: 2018-12-21-13-29-30
    130 .. nonce: 1DzQQc
    131 .. section: Core and Builtins
    132 
    133 Format characters ``%s`` and ``%V`` in :c:func:`PyUnicode_FromFormat` and
    134 ``%s`` in :c:func:`PyBytes_FromFormat` no longer read memory past the limit
    135 if *precision* is specified.
    136 
    137 ..
    138 
    139 .. bpo: 35504
    140 .. date: 2018-12-15-14-01-45
    141 .. nonce: JtKczP
    142 .. section: Core and Builtins
    143 
    144 Fix segfaults and :exc:`SystemError`\ s when deleting certain attributes.
    145 Patch by Zackery Spytz.
    146 
    147 ..
    148 
    149 .. bpo: 33989
    150 .. date: 2018-08-08-20-52-55
    151 .. nonce: TkLBui
    152 .. section: Core and Builtins
    153 
    154 Fix a possible crash in :meth:`list.sort` when sorting objects with
    155 ``ob_type->tp_richcompare == NULL``.  Patch by Zackery Spytz.
    156 
    157 ..
    158 
    159 .. bpo: 35931
    160 .. date: 2019-03-11-22-06-36
    161 .. nonce: Qp_Tbe
    162 .. section: Library
    163 
    164 The :mod:`pdb` ``debug`` command now gracefully handles all exceptions.
    165 
    166 ..
    167 
    168 .. bpo: 36251
    169 .. date: 2019-03-09-18-01-24
    170 .. nonce: zOp9l0
    171 .. section: Library
    172 
    173 Fix format strings used for stderrprinter and re.Match reprs. Patch by
    174 Stephan Hohe.
    175 
    176 ..
    177 
    178 .. bpo: 35807
    179 .. date: 2019-03-06-13-21-33
    180 .. nonce: W7mmu3
    181 .. section: Library
    182 
    183 Update ensurepip to install pip 19.0.3 and setuptools 40.8.0.
    184 
    185 ..
    186 
    187 .. bpo: 36179
    188 .. date: 2019-03-04-10-42-46
    189 .. nonce: jEyuI-
    190 .. section: Library
    191 
    192 Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in
    193 out-of-memory cases.
    194 
    195 ..
    196 
    197 .. bpo: 35178
    198 .. date: 2019-02-25-23-04-00
    199 .. nonce: NA_rXa
    200 .. section: Library
    201 
    202 Ensure custom :func:`warnings.formatwarning` function can receive `line` as
    203 positional argument. Based on patch by Tashrif Billah.
    204 
    205 ..
    206 
    207 .. bpo: 36106
    208 .. date: 2019-02-25-13-21-43
    209 .. nonce: VuhEiQ
    210 .. section: Library
    211 
    212 Resolve potential name clash with libm's sinpi(). Patch by Dmitrii
    213 Pasechnik.
    214 
    215 ..
    216 
    217 .. bpo: 35512
    218 .. date: 2019-02-24-00-04-10
    219 .. nonce: eWDjCJ
    220 .. section: Library
    221 
    222 :func:`unittest.mock.patch.dict` used as a decorator with string target
    223 resolves the target during function call instead of during decorator
    224 construction. Patch by Karthikeyan Singaravelan.
    225 
    226 ..
    227 
    228 .. bpo: 36091
    229 .. date: 2019-02-23-06-49-06
    230 .. nonce: 26o4Lc
    231 .. section: Library
    232 
    233 Clean up reference to async generator in Lib/types. Patch by Henry Chen.
    234 
    235 ..
    236 
    237 .. bpo: 35899
    238 .. date: 2019-02-16-07-11-02
    239 .. nonce: cjfn5a
    240 .. section: Library
    241 
    242 Enum has been fixed to correctly handle empty strings and strings with
    243 non-Latin characters (ie. '', '') without crashing. Original patch
    244 contributed by Maxwell. Assisted by Stphane Wirtel.
    245 
    246 ..
    247 
    248 .. bpo: 35918
    249 .. date: 2019-02-11-16-23-10
    250 .. nonce: oGDlpT
    251 .. section: Library
    252 
    253 Removed broken ``has_key`` method from
    254 multiprocessing.managers.SyncManager.dict. Contributed by Rmi Lapeyre.
    255 
    256 ..
    257 
    258 .. bpo: 35960
    259 .. date: 2019-02-10-20-57-12
    260 .. nonce: bh-6Ja
    261 .. section: Library
    262 
    263 Fix :func:`dataclasses.field` throwing away empty mapping objects passed as
    264 metadata.
    265 
    266 ..
    267 
    268 .. bpo: 35847
    269 .. date: 2019-01-29-09-11-09
    270 .. nonce: eiSi4t
    271 .. section: Library
    272 
    273 RISC-V needed the CTYPES_PASS_BY_REF_HACK.  Fixes ctypes Structure
    274 test_pass_by_value.
    275 
    276 ..
    277 
    278 .. bpo: 35780
    279 .. date: 2019-01-19-17-01-43
    280 .. nonce: CLf7fT
    281 .. section: Library
    282 
    283 Fix lru_cache() errors arising in recursive, reentrant, or multi-threaded
    284 code. These errors could result in orphan links and in the cache being
    285 trapped in a state with fewer than the specified maximum number of links.
    286 Fix handling of negative maxsize which should have been treated as zero. Fix
    287 errors in toggling the "full" status flag. Fix misordering of links when
    288 errors are encountered.  Sync-up the C code and pure Python code for the
    289 space saving path in functions with a single positional argument. In this
    290 common case, the space overhead of an lru cache entry is reduced by almost
    291 half.  Fix counting of cache misses. In error cases, the miss count was out
    292 of sync with the actual number of times the underlying user function was
    293 called.
    294 
    295 ..
    296 
    297 .. bpo: 23846
    298 .. date: 2019-01-15-13-31-30
    299 .. nonce: LT_qL8
    300 .. section: Library
    301 
    302 :class:`asyncio.ProactorEventLoop` now catches and logs send errors when the
    303 self-pipe is full.
    304 
    305 ..
    306 
    307 .. bpo: 34323
    308 .. date: 2019-01-14-17-34-36
    309 .. nonce: CRErrt
    310 .. section: Library
    311 
    312 :mod:`asyncio`: Enhance ``IocpProactor.close()`` log: wait 1 second before
    313 the first log, then log every second. Log also the number of seconds since
    314 ``close()`` was called.
    315 
    316 ..
    317 
    318 .. bpo: 34294
    319 .. date: 2019-01-14-11-53-10
    320 .. nonce: 3JFdg2
    321 .. section: Library
    322 
    323 re module, fix wrong capturing groups in rare cases. :func:`re.search`,
    324 :func:`re.findall`, :func:`re.sub` and other functions that scan through
    325 string looking for a match, should reset capturing groups between two match
    326 attempts. Patch by Ma Lin.
    327 
    328 ..
    329 
    330 .. bpo: 35717
    331 .. date: 2019-01-11-17-56-15
    332 .. nonce: 6TDTB_
    333 .. section: Library
    334 
    335 Fix KeyError exception raised when using enums and compile. Patch
    336 contributed by Rmi Lapeyre.
    337 
    338 ..
    339 
    340 .. bpo: 35699
    341 .. date: 2019-01-11-07-09-25
    342 .. nonce: VDiENF
    343 .. section: Library
    344 
    345 Fixed detection of Visual Studio Build Tools 2017 in distutils
    346 
    347 ..
    348 
    349 .. bpo: 32710
    350 .. date: 2019-01-10-15-55-10
    351 .. nonce: KwECPu
    352 .. section: Library
    353 
    354 Fix memory leaks in asyncio ProactorEventLoop on overlapped operation
    355 failure.
    356 
    357 ..
    358 
    359 .. bpo: 32710
    360 .. date: 2019-01-08-14-00-52
    361 .. nonce: Sn5Ujj
    362 .. section: Library
    363 
    364 Fix a memory leak in asyncio in the ProactorEventLoop when ``ReadFile()`` or
    365 ``WSASend()`` overlapped operation fail immediately: release the internal
    366 buffer.
    367 
    368 ..
    369 
    370 .. bpo: 35682
    371 .. date: 2019-01-08-01-54-02
    372 .. nonce: KDM9lk
    373 .. section: Library
    374 
    375 Fix ``asyncio.ProactorEventLoop.sendfile()``: don't attempt to set the
    376 result of an internal future if it's already done.
    377 
    378 ..
    379 
    380 .. bpo: 35283
    381 .. date: 2019-01-07-17-17-16
    382 .. nonce: WClosC
    383 .. section: Library
    384 
    385 Add a pending deprecated warning for the :meth:`threading.Thread.isAlive`
    386 method. Patch by Dong-hee Na.
    387 
    388 ..
    389 
    390 .. bpo: 35643
    391 .. date: 2019-01-02-20-04-49
    392 .. nonce: DaMiaV
    393 .. section: Library
    394 
    395 Fixed a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py.
    396 Patch by Mickal Schoentgen.
    397 
    398 ..
    399 
    400 .. bpo: 35615
    401 .. date: 2018-12-30-20-00-05
    402 .. nonce: Uz1SVh
    403 .. section: Library
    404 
    405 :mod:`weakref`: Fix a RuntimeError when copying a WeakKeyDictionary or a
    406 WeakValueDictionary, due to some keys or values disappearing while
    407 iterating.
    408 
    409 ..
    410 
    411 .. bpo: 28503
    412 .. date: 2018-12-30-14-56-33
    413 .. nonce: V4kNN3
    414 .. section: Library
    415 
    416 The `crypt` module now internally uses the `crypt_r()` library function
    417 instead of `crypt()` when available.
    418 
    419 ..
    420 
    421 .. bpo: 35121
    422 .. date: 2018-12-30-14-35-19
    423 .. nonce: oWmiGU
    424 .. section: Library
    425 
    426 Don't set cookie for a request when the request path is a prefix match of
    427 the cookie's path attribute but doesn't end with "/". Patch by Karthikeyan
    428 Singaravelan.
    429 
    430 ..
    431 
    432 .. bpo: 35585
    433 .. date: 2018-12-26-02-28-00
    434 .. nonce: Lkzd3Z
    435 .. section: Library
    436 
    437 Speed-up building enums by value, e.g. http.HTTPStatus(200).
    438 
    439 ..
    440 
    441 .. bpo: 21478
    442 .. date: 2018-12-21-09-54-30
    443 .. nonce: 5gsXtc
    444 .. section: Library
    445 
    446 Calls to a child function created with :func:`unittest.mock.create_autospec`
    447 should propagate to the parent. Patch by Karthikeyan Singaravelan.
    448 
    449 ..
    450 
    451 .. bpo: 35513
    452 .. date: 2018-12-16-23-28-49
    453 .. nonce: pn-Zh3
    454 .. section: Library
    455 
    456 :class:`~unittest.runner.TextTestRunner` of :mod:`unittest.runner` now uses
    457 :func:`time.perf_counter` rather than :func:`time.time` to measure the
    458 execution time of a test: :func:`time.time` can go backwards, whereas
    459 :func:`time.perf_counter` is monotonic.
    460 
    461 ..
    462 
    463 .. bpo: 35502
    464 .. date: 2018-12-14-23-56-48
    465 .. nonce: gLHuFS
    466 .. section: Library
    467 
    468 Fixed reference leaks in :class:`xml.etree.ElementTree.TreeBuilder` in case
    469 of unfinished building of the tree (in particular when an error was raised
    470 during parsing XML).
    471 
    472 ..
    473 
    474 .. bpo: 31446
    475 .. date: 2018-12-12-22-52-34
    476 .. nonce: l--Fjz
    477 .. section: Library
    478 
    479 Copy command line that was passed to CreateProcessW since this function can
    480 change the content of the input buffer.
    481 
    482 ..
    483 
    484 .. bpo: 20239
    485 .. date: 2018-12-09-21-35-49
    486 .. nonce: V4mWBL
    487 .. section: Library
    488 
    489 Allow repeated assignment deletion of :class:`unittest.mock.Mock`
    490 attributes. Patch by Pablo Galindo.
    491 
    492 ..
    493 
    494 .. bpo: 17185
    495 .. date: 2018-12-09-17-04-15
    496 .. nonce: SfSCJF
    497 .. section: Library
    498 
    499 Set ``__signature__`` on mock for :mod:`inspect` to get signature. Patch by
    500 Karthikeyan Singaravelan.
    501 
    502 ..
    503 
    504 .. bpo: 10496
    505 .. date: 2018-12-05-17-42-49
    506 .. nonce: laV_IE
    507 .. section: Library
    508 
    509 :func:`~distutils.utils.check_environ` of :mod:`distutils.utils` now catches
    510 :exc:`KeyError` on calling :func:`pwd.getpwuid`: don't create the ``HOME``
    511 environment variable in this case.
    512 
    513 ..
    514 
    515 .. bpo: 35066
    516 .. date: 2018-11-29-09-38-40
    517 .. nonce: Nwej2s
    518 .. section: Library
    519 
    520 Previously, calling the strftime() method on a datetime object with a
    521 trailing '%' in the format string would result in an exception. However,
    522 this only occured when the datetime C module was being used; the python
    523 implementation did not match this behavior. Datetime is now PEP-399
    524 compliant, and will not throw an exception on a trailing '%'.
    525 
    526 ..
    527 
    528 .. bpo: 24746
    529 .. date: 2018-11-22-15-22-56
    530 .. nonce: eSLKBE
    531 .. section: Library
    532 
    533 Avoid stripping trailing whitespace in doctest fancy diff. Orignial patch by
    534 R. David Murray & Jairo Trad. Enhanced by Sanyam Khurana.
    535 
    536 ..
    537 
    538 .. bpo: 35198
    539 .. date: 2018-11-09-12-45-28
    540 .. nonce: EJ8keW
    541 .. section: Library
    542 
    543 Fix C++ extension compilation on AIX
    544 
    545 ..
    546 
    547 .. bpo: 28441
    548 .. date: 2018-10-04-15-53-14
    549 .. nonce: 2sQENe
    550 .. section: Library
    551 
    552 On Cygwin and MinGW, ensure that ``sys.executable`` always includes the full
    553 filename in the path, including the ``.exe`` suffix (unless it is a symbolic
    554 link).
    555 
    556 ..
    557 
    558 .. bpo: 34572
    559 .. date: 2018-09-05-03-02-32
    560 .. nonce: ayisd2
    561 .. section: Library
    562 
    563 Fix C implementation of pickle.loads to use importlib's locking mechanisms,
    564 and thereby avoid using partially-loaded modules. Patch by Tim Burgess.
    565 
    566 ..
    567 
    568 .. bpo: 33687
    569 .. date: 2018-06-10-14-08-52
    570 .. nonce: 1zZdnA
    571 .. section: Library
    572 
    573 Fix the call to ``os.chmod()`` for ``uu.decode()`` if a mode is given or
    574 decoded. Patch by Timo Furrer.
    575 
    576 ..
    577 
    578 .. bpo: 32146
    579 .. date: 2018-02-25-10-17-23
    580 .. nonce: xOzUFW
    581 .. section: Library
    582 
    583 Document the interaction between frozen executables and the spawn and
    584 forkserver start methods in multiprocessing.
    585 
    586 ..
    587 
    588 .. bpo: 36083
    589 .. date: 2019-02-24-12-40-13
    590 .. nonce: JX7zbv
    591 .. section: Documentation
    592 
    593 Fix formatting of --check-hash-based-pycs options in the manpage Synopsis.
    594 
    595 ..
    596 
    597 .. bpo: 34764
    598 .. date: 2018-12-23-23-52-31
    599 .. nonce: DwOGeT
    600 .. section: Documentation
    601 
    602 Improve example of iter() with 2nd sentinel argument.
    603 
    604 ..
    605 
    606 .. bpo: 21314
    607 .. date: 2018-11-21-23-01-37
    608 .. nonce: PG33VT
    609 .. section: Documentation
    610 
    611 A new entry was added to the Core Language Section of the Programming FAQ,
    612 which explaines the usage of slash(/) in the signature of a function. Patch
    613 by Lysandros Nikolaou
    614 
    615 ..
    616 
    617 .. bpo: 22062
    618 .. date: 2018-07-28-12-41-01
    619 .. nonce: TaN2hn
    620 .. section: Documentation
    621 
    622 Update documentation and docstrings for pathlib. Original patch by Mike
    623 Short.
    624 
    625 ..
    626 
    627 .. bpo: 36234
    628 .. date: 2019-03-08-12-53-37
    629 .. nonce: NRVK6W
    630 .. section: Tests
    631 
    632 test_posix.PosixUidGidTests: add tests for invalid uid/gid type (str).
    633 Initial patch written by David Malcolm.
    634 
    635 ..
    636 
    637 .. bpo: 29571
    638 .. date: 2019-03-05-13-48-39
    639 .. nonce: ecGuKR
    640 .. section: Tests
    641 
    642 Fix ``test_re.test_locale_flag()``:  use ``locale.getpreferredencoding()``
    643 rather than ``locale.getlocale()`` to get the locale encoding. With some
    644 locales, ``locale.getlocale()`` returns the wrong encoding. On Windows, set
    645 temporarily the ``LC_CTYPE`` locale to the user preferred encoding to ensure
    646 that it uses the ANSI code page, to be consistent with
    647 ``locale.getpreferredencoding()``.
    648 
    649 ..
    650 
    651 .. bpo: 36123
    652 .. date: 2019-02-26-12-51-35
    653 .. nonce: QRhhRS
    654 .. section: Tests
    655 
    656 Fix race condition in test_socket.
    657 
    658 ..
    659 
    660 .. bpo: 27313
    661 .. date: 2019-02-24-01-58-38
    662 .. nonce: Sj9veH
    663 .. section: Tests
    664 
    665 Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa Tk.
    666 
    667 ..
    668 
    669 .. bpo: 36019
    670 .. date: 2019-02-21-14-23-51
    671 .. nonce: zS_OUi
    672 .. section: Tests
    673 
    674 Add test.support.TEST_HTTP_URL and replace references of
    675 http://www.example.com by this new constant. Contributed by Stphane Wirtel.
    676 
    677 ..
    678 
    679 .. bpo: 36037
    680 .. date: 2019-02-19-15-21-14
    681 .. nonce: 75wG9_
    682 .. section: Tests
    683 
    684 Fix test_ssl for strict OpenSSL configuration like RHEL8 strict crypto
    685 policy. Use older TLS version for minimum TLS version of the server SSL
    686 context if needed, to test TLS version older than default minimum TLS
    687 version.
    688 
    689 ..
    690 
    691 .. bpo: 35505
    692 .. date: 2019-02-12-01-33-08
    693 .. nonce: N9ba_K
    694 .. section: Tests
    695 
    696 Make test_imap4_host_default_value independent on whether the local IMAP
    697 server is running.
    698 
    699 ..
    700 
    701 .. bpo: 35917
    702 .. date: 2019-02-06-18-06-16
    703 .. nonce: -Clv1L
    704 .. section: Tests
    705 
    706 multiprocessing: provide unit tests for SyncManager and SharedMemoryManager
    707 classes + all the shareable types which are supposed to be supported by
    708 them.  (patch by Giampaolo Rodola)
    709 
    710 ..
    711 
    712 .. bpo: 35772
    713 .. date: 2019-01-18-12-19-19
    714 .. nonce: sGBbsn
    715 .. section: Tests
    716 
    717 Fix sparse file tests of test_tarfile on ppc64 with the tmpfs filesystem.
    718 Fix the function testing if the filesystem supports sparse files: create a
    719 file which contains data and "holes", instead of creating a file which
    720 contains no data. tmpfs effective block size is a page size (tmpfs lives in
    721 the page cache). RHEL uses 64 KiB pages on aarch64, ppc64, ppc64le, only
    722 s390x and x86_64 use 4 KiB pages, whereas the test punch holes of 4 KiB.
    723 
    724 ..
    725 
    726 .. bpo: 35045
    727 .. date: 2019-01-10-18-35-42
    728 .. nonce: qdd6d9
    729 .. section: Tests
    730 
    731 Make ssl tests less strict and also accept TLSv1 as system default. The
    732 changes unbreaks test_min_max_version on Fedora 29.
    733 
    734 ..
    735 
    736 .. bpo: 31731
    737 .. date: 2018-12-18-23-20-39
    738 .. nonce: tcv85C
    739 .. section: Tests
    740 
    741 Fix a race condition in ``check_interrupted_write()`` of test_io: create
    742 directly the thread with SIGALRM signal blocked, rather than blocking the
    743 signal later from the thread. Previously, it was possible that the thread
    744 gets the signal before the signal is blocked.
    745 
    746 ..
    747 
    748 .. bpo: 35424
    749 .. date: 2018-12-18-22-36-53
    750 .. nonce: 1Pz4IS
    751 .. section: Tests
    752 
    753 Fix test_multiprocessing_main_handling: use :class:`multiprocessing.Pool`
    754 with a context manager and then explicitly join the pool.
    755 
    756 ..
    757 
    758 .. bpo: 35519
    759 .. date: 2018-12-17-16-41-45
    760 .. nonce: RR3L_w
    761 .. section: Tests
    762 
    763 Rename :mod:`test.bisect` module to :mod:`test.bisect_cmd` to avoid conflict
    764 with :mod:`bisect` module when running directly a test like ``./python
    765 Lib/test/test_xmlrpc.py``.
    766 
    767 ..
    768 
    769 .. bpo: 35513
    770 .. date: 2018-12-16-23-36-47
    771 .. nonce: k4WHlA
    772 .. section: Tests
    773 
    774 Replace :func:`time.time` with :func:`time.monotonic` in tests to measure
    775 time delta.
    776 
    777 ..
    778 
    779 .. bpo: 34279
    780 .. date: 2018-12-12-18-20-18
    781 .. nonce: DhKcuP
    782 .. section: Tests
    783 
    784 :func:`test.support.run_unittest` no longer raise :exc:`TestDidNotRun` if
    785 the test result contains skipped tests. The exception is now only raised if
    786 no test have been run and no test have been skipped.
    787 
    788 ..
    789 
    790 .. bpo: 35412
    791 .. date: 2018-12-12-18-07-58
    792 .. nonce: kbuJor
    793 .. section: Tests
    794 
    795 Add testcase to ``test_future4``: check unicode literal.
    796 
    797 ..
    798 
    799 .. bpo: 26704
    800 .. date: 2018-12-10-13-18-37
    801 .. nonce: DBAN4c
    802 .. section: Tests
    803 
    804 Added test demonstrating double-patching of an instance method.  Patch by
    805 Anthony Sottile.
    806 
    807 ..
    808 
    809 .. bpo: 34691
    810 .. date: 2019-02-02-13-34-05
    811 .. nonce: B-Lsj4
    812 .. section: Build
    813 
    814 The _contextvars module is now built into the core Python library on
    815 Windows.
    816 
    817 ..
    818 
    819 .. bpo: 35683
    820 .. date: 2019-01-10-11-37-18
    821 .. nonce: pf5Oos
    822 .. section: Build
    823 
    824 Improved Azure Pipelines build steps and now verifying layouts correctly
    825 
    826 ..
    827 
    828 .. bpo: 35642
    829 .. date: 2019-01-02-11-23-33
    830 .. nonce: pjkhJe
    831 .. section: Build
    832 
    833 Remove asynciomodule.c from pythoncore.vcxproj
    834 
    835 ..
    836 
    837 .. bpo: 35550
    838 .. date: 2018-12-29-10-19-43
    839 .. nonce: BTuu8e
    840 .. section: Build
    841 
    842 Fix incorrect Solaris #ifdef checks to look for __sun && __SVR4 instead of
    843 sun when compiling.
    844 
    845 ..
    846 
    847 .. bpo: 24643
    848 .. date: 2019-02-24-07-52-39
    849 .. nonce: PofyiS
    850 .. section: Windows
    851 
    852 Fix name collisions due to ``#define timezone _timezone`` in PC/pyconfig.h.
    853 
    854 ..
    855 
    856 .. bpo: 35692
    857 .. date: 2019-02-02-16-23-57
    858 .. nonce: cIiiE9
    859 .. section: Windows
    860 
    861 ``pathlib`` no longer raises when checking file and directory existence on
    862 drives that are not ready
    863 
    864 ..
    865 
    866 .. bpo: 35872
    867 .. date: 2019-02-02-15-57-19
    868 .. nonce: Bba2n7
    869 .. section: Windows
    870 
    871 Uses the base Python executable when invoking venv in a virtual environment
    872 
    873 ..
    874 
    875 .. bpo: 35873
    876 .. date: 2019-02-02-15-56-50
    877 .. nonce: UW-qS9
    878 .. section: Windows
    879 
    880 Prevents venv paths being inherited by child processes
    881 
    882 ..
    883 
    884 .. bpo: 35299
    885 .. date: 2019-02-02-14-47-12
    886 .. nonce: 1rgEzd
    887 .. section: Windows
    888 
    889 Fix sysconfig detection of the source directory and distutils handling of
    890 pyconfig.h during PGO profiling
    891 
    892 ..
    893 
    894 .. bpo: 32560
    895 .. date: 2019-02-02-11-02-44
    896 .. nonce: I5WAGW
    897 .. section: Windows
    898 
    899 The ``py`` launcher now forwards its ``STARTUPINFO`` structure to child
    900 processes.
    901 
    902 ..
    903 
    904 .. bpo: 35854
    905 .. date: 2019-01-29-15-44-46
    906 .. nonce: Ww3z19
    907 .. section: Windows
    908 
    909 Fix EnvBuilder and --symlinks in venv on Windows
    910 
    911 ..
    912 
    913 .. bpo: 35811
    914 .. date: 2019-01-25-12-46-36
    915 .. nonce: 2hU-mm
    916 .. section: Windows
    917 
    918 Avoid propagating venv settings when launching via py.exe
    919 
    920 ..
    921 
    922 .. bpo: 35797
    923 .. date: 2019-01-25-12-29-14
    924 .. nonce: MzyOK9
    925 .. section: Windows
    926 
    927 Fix default executable used by the multiprocessing module
    928 
    929 ..
    930 
    931 .. bpo: 29734
    932 .. date: 2019-01-12-16-52-38
    933 .. nonce: 6_OJwI
    934 .. section: Windows
    935 
    936 Fix handle leaks in os.stat on Windows.
    937 
    938 ..
    939 
    940 .. bpo: 35596
    941 .. date: 2019-01-08-13-56-01
    942 .. nonce: oFvhcm
    943 .. section: Windows
    944 
    945 Use unchecked PYCs for the embeddable distro to avoid zipimport
    946 restrictions.
    947 
    948 ..
    949 
    950 .. bpo: 35596
    951 .. date: 2018-12-28-07-25-47
    952 .. nonce: P9CEY2
    953 .. section: Windows
    954 
    955 Fix vcruntime140.dll being added to embeddable distro multiple times.
    956 
    957 ..
    958 
    959 .. bpo: 35402
    960 .. date: 2018-12-13-13-30-04
    961 .. nonce: n_mXb2
    962 .. section: Windows
    963 
    964 Update Windows build to use Tcl and Tk 8.6.9
    965 
    966 ..
    967 
    968 .. bpo: 33316
    969 .. date: 2018-04-20-03-24-07
    970 .. nonce: 9IiJ8J
    971 .. section: Windows
    972 
    973 PyThread_release_lock always fails
    974 
    975 ..
    976 
    977 .. bpo: 1104
    978 .. date: 2017-11-24-12-53-54
    979 .. nonce: 1CWSZp
    980 .. section: Windows
    981 
    982 Correctly handle string length in ``msilib.SummaryInfo.GetProperty()`` to
    983 prevent it from truncating the last character.
    984 
    985 ..
    986 
    987 .. bpo: 36176
    988 .. date: 2019-03-10-00-07-46
    989 .. nonce: jk_vv6
    990 .. section: IDLE
    991 
    992 Fix IDLE autocomplete & calltip popup colors. Prevent conflicts with Linux
    993 dark themes (and slightly darken calltip background).
    994 
    995 ..
    996 
    997 .. bpo: 36152
    998 .. date: 2019-02-28-18-52-40
    999 .. nonce: 9pkHIU
   1000 .. section: IDLE
   1001 
   1002 Remove colorizer.ColorDelegator.close_when_done and the corresponding
   1003 argument of .close().  In IDLE, both have always been None or False since
   1004 2007.
   1005 
   1006 ..
   1007 
   1008 .. bpo: 32129
   1009 .. date: 2019-02-25-11-40-14
   1010 .. nonce: 4qVCzD
   1011 .. section: IDLE
   1012 
   1013 Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
   1014 Walzer.
   1015 
   1016 ..
   1017 
   1018 .. bpo: 24310
   1019 .. date: 2019-02-23-22-31-20
   1020 .. nonce: j_vJQl
   1021 .. section: IDLE
   1022 
   1023 IDLE -- Document settings dialog font tab sample.
   1024 
   1025 ..
   1026 
   1027 .. bpo: 36096
   1028 .. date: 2019-02-23-17-53-53
   1029 .. nonce: mN5Ly3
   1030 .. section: IDLE
   1031 
   1032 Refactor class variables to instance variables in colorizer.
   1033 
   1034 ..
   1035 
   1036 .. bpo: 35833
   1037 .. date: 2019-02-08-22-14-24
   1038 .. nonce: XKFRvF
   1039 .. section: IDLE
   1040 
   1041 Revise IDLE doc for control codes sent to Shell. Add a code example block.
   1042 
   1043 ..
   1044 
   1045 .. bpo: 35770
   1046 .. date: 2019-01-18-13-04-30
   1047 .. nonce: 2LxJGu
   1048 .. section: IDLE
   1049 
   1050 IDLE macosx deletes Options => Configure IDLE. It previously deleted Window
   1051 => Zoom Height by mistake. (Zoom Height is now on the Options menu).  On
   1052 Mac, the settings dialog is accessed via Preferences on the IDLE menu.
   1053 
   1054 ..
   1055 
   1056 .. bpo: 35769
   1057 .. date: 2019-01-18-01-24-23
   1058 .. nonce: GqsB34
   1059 .. section: IDLE
   1060 
   1061 Change IDLE's new file name from 'Untitled' to 'untitled'
   1062 
   1063 ..
   1064 
   1065 .. bpo: 35689
   1066 .. date: 2019-01-08-17-51-44
   1067 .. nonce: LlaqR8
   1068 .. section: IDLE
   1069 
   1070 Add docstrings and unittests for colorizer.py.
   1071 
   1072 ..
   1073 
   1074 .. bpo: 35660
   1075 .. date: 2019-01-04-19-14-29
   1076 .. nonce: hMxI7N
   1077 .. section: IDLE
   1078 
   1079 Fix imports in idlelib.window.
   1080 
   1081 ..
   1082 
   1083 .. bpo: 35641
   1084 .. date: 2019-01-02-22-15-01
   1085 .. nonce: QEaANl
   1086 .. section: IDLE
   1087 
   1088 Proper format `calltip` when the function has no docstring.
   1089 
   1090 ..
   1091 
   1092 .. bpo: 33987
   1093 .. date: 2018-12-31-17-04-18
   1094 .. nonce: fD92up
   1095 .. section: IDLE
   1096 
   1097 Use ttk Frame for ttk widgets.
   1098 
   1099 ..
   1100 
   1101 .. bpo: 34055
   1102 .. date: 2018-12-28-17-16-33
   1103 .. nonce: TmmpzR
   1104 .. section: IDLE
   1105 
   1106 Fix erroneous 'smart' indents and newlines in IDLE Shell.
   1107 
   1108 ..
   1109 
   1110 .. bpo: 35591
   1111 .. date: 2018-12-28-01-19-20
   1112 .. nonce: SFpDj2
   1113 .. section: IDLE
   1114 
   1115 Find Selection now works when selection not found.
   1116 
   1117 ..
   1118 
   1119 .. bpo: 35196
   1120 .. date: 2018-12-27-17-46-42
   1121 .. nonce: 9E-xUh
   1122 .. section: IDLE
   1123 
   1124 Speed up squeezer line counting.
   1125 
   1126 ..
   1127 
   1128 .. bpo: 35598
   1129 .. date: 2018-12-27-15-29-11
   1130 .. nonce: FWOOm8
   1131 .. section: IDLE
   1132 
   1133 Update config_key: use PEP 8 names and ttk widgets, make some objects
   1134 global, and add tests.
   1135 
   1136 ..
   1137 
   1138 .. bpo: 28097
   1139 .. date: 2018-12-26-13-53-34
   1140 .. nonce: 95I9NT
   1141 .. section: IDLE
   1142 
   1143 Add Previous/Next History entries to Shell menu.
   1144 
   1145 ..
   1146 
   1147 .. bpo: 35208
   1148 .. date: 2018-12-23-17-42-11
   1149 .. nonce: J5NOg7
   1150 .. section: IDLE
   1151 
   1152 Squeezer now properly counts wrapped lines before newlines.
   1153 
   1154 ..
   1155 
   1156 .. bpo: 35555
   1157 .. date: 2018-12-21-18-44-30
   1158 .. nonce: M58_K3
   1159 .. section: IDLE
   1160 
   1161 Gray out Code Context menu entry when it's not applicable.
   1162 
   1163 ..
   1164 
   1165 .. bpo: 35521
   1166 .. date: 2018-12-20-00-14-15
   1167 .. nonce: x32BRn
   1168 .. section: IDLE
   1169 
   1170 Document the IDLE editor code context feature. Add some internal references
   1171 within the IDLE doc.
   1172 
   1173 ..
   1174 
   1175 .. bpo: 22703
   1176 .. date: 2018-12-18-13-56-31
   1177 .. nonce: UlsjKQ
   1178 .. section: IDLE
   1179 
   1180 The Code Context menu label now toggles between Show/Hide Code Context. The
   1181 Zoom Height menu now toggles between Zoom/Restore Height. Zoom Height has
   1182 moved from the Window menu to the Options menu.
   1183 
   1184 ..
   1185 
   1186 .. bpo: 35132
   1187 .. date: 2019-03-04-02-09-09
   1188 .. nonce: 1R_pnL
   1189 .. section: Tools/Demos
   1190 
   1191 Fix py-list and py-bt commands of python-gdb.py on gdb7.
   1192 
   1193 ..
   1194 
   1195 .. bpo: 33817
   1196 .. date: 2019-01-11-11-16-16
   1197 .. nonce: nJ4yIj
   1198 .. section: C API
   1199 
   1200 Fixed :c:func:`_PyBytes_Resize` for empty bytes objects.
   1201