Skip to content
Permalink
main

Commits on Sep 10, 2021

Commits on Sep 9, 2021

  1. bpo-45067 - Verify the version of ncurses for extended color support …

    …feature usage. (GH-28260)
    
    * issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses
    for extended color support feature usage.
    
    The function extended_color_content was introduced in 2017.  The ncurses-devel
    package in CentOS 7 had a older version ncurses resulted in compilation error.
    For compiling ncurses with extended color support, we verify the version of the
    ncurses library.
    
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    3 people committed Sep 9, 2021
  2. bpo-44219: Release the GIL during isatty syscalls (GH-28250)

    Release the GIL while performing isatty() system calls on arbitrary
    file descriptors. In particular, this affects os.isatty(),
    os.device_encoding() and io.TextIOWrapper. By extension,
    io.open() in text mode is also affected.
    vxgmichel committed Sep 9, 2021
  3. bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235)

    Update test_sysconfig.test_user_similar() for the posix_user scheme:
    "platlib" doesn't use sys.platlibdir.
    vstinner committed Sep 9, 2021

Commits on Sep 8, 2021

  1. bpo-44340: Update whatsnews for ThinLTO (GH-28229)

    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    corona10 and ambv committed Sep 8, 2021
  2. bpo-45129 Remove deprecated reuse_address (GH-28207)

    Due to significant security concerns, the reuse_address parameter of
    asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is
    now removed. This is because of the behavior of the socket option
    SO_REUSEADDR in UDP.
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    hugovk and ambv committed Sep 8, 2021
  3. bpo-19113: Remove unused test_errors from ctypes tests (GH-28008)

    This test was forever shadowed by another test method named `test_errors`.
    akulakov committed Sep 8, 2021
  4. bpo-45132 Remove deprecated __getitem__ methods (GH-28225)

    Remove deprecated __getitem__ methods of xml.dom.pulldom.DOMEventStream,
    wsgiref.util.FileWrapper and fileinput.FileInput, deprecated since Python 3.9.
    hugovk committed Sep 8, 2021
  5. bpo-39573: Py_TYPE becomes a static inline function (GH-28128)

    Convert the Py_TYPE() and Py_SIZE() macros to static inline
    functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be
    used to set an object type and size.
    vstinner committed Sep 8, 2021

Commits on Sep 7, 2021

  1. Remove documentation for non-existing socket class attributes (GH-28029)

    The functions in question are available on the module-level only.
    mattip committed Sep 7, 2021
  2. bpo-45012: Release GIL around stat in os.scandir (GH-28085)

    Releasing GIL allows other threads to continue
    its work when os.scandir is fetching DirEntry.stat
    info from file system.
    skonieczny committed Sep 7, 2021
  3. bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Sep 7, 2021
  4. bpo-45118: Fix regrtest second summary for re-run tests (GH-28183)

    Fix regrtest second summary when using -w/--verbose2 command line
    option: lists re-run tests in the second test summary.
    vstinner committed Sep 7, 2021
  5. bpo-44348: BaseException deallocator uses trashcan (GH-28190)

    The deallocator function of the BaseException type now uses the
    trashcan mecanism to prevent stack overflow. For example, when a
    RecursionError instance is raised, it can be linked to another
    RecursionError through the __context__ attribute or the __traceback__
    attribute, and then a chain of exceptions is created. When the chain
    is destroyed, nested deallocator function calls can crash with a
    stack overflow if the chain is too long compared to the available
    stack memory.
    vstinner committed Sep 7, 2021
  6. bpo-42064: Pass module state to trace, progress, and authorizer callb…

    …acks (GH-27940)
    
    - add print-or-clear traceback helper
    - add helpers to clear and visit saved contexts
    - modify callbacks to use the new callback_context struct
    erlend-aasland committed Sep 7, 2021
  7. bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...…

    …)` (GH-28178)
    
    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    3 people committed Sep 7, 2021
  8. bpo-44991: Normalise sqlite3 callback naming (GH-28088)

    - all callbacks are now named xxx_callback
    - normalise callable naming in set_*() functions
    - normalise context argument naming in callbacks
    
    The sqlite code is being "touched" in bpo-42064 (and related issues);
    this style change makes it easier to work with and review.
    erlend-aasland committed Sep 7, 2021
  9. bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194)

    Fix PyAiter_Check to only check for the `__anext__` presense (not for
    `__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`,
    `PyObject_GetAiter()` -> `PyObject_GetAIter()`.
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    1st1 and pablogsal committed Sep 7, 2021
  10. bpo-45124: Remove the bdist_msi command (GH-28195)

    The bdist_msi command, deprecated in Python 3.9, is now removed.
    Use bdist_wheel (wheel packages) instead.
    hugovk committed Sep 7, 2021
  11. bpo-44963: Implement send() and throw() methods for anext_awaitable o…

    …bjects (GH-27955)
    
    Co-authored-by: Yury Selivanov <yury@edgedb.com>
    pablogsal and 1st1 committed Sep 7, 2021
Older