Skip to content
Permalink
main
Switch branches/tags

Commits on May 16, 2022

  1. gh-92265: set meta_path and path_hooks correctly in test_reload_names…

    …pace_changed (GH-92275)
    
    Previously, we were blocking the frozen imports and forcing the source
    version to be used, but we did not fix up sys.meta_path or
    sys.path_hooks, causing the frozen importers to leak into the source
    version of the test.
    FFY00 committed May 16, 2022
  2. gh-92547: Remove deprecated sqlite3 features (#92548)

    The following sqlite3 features were deprecated in 3.10, scheduled for
    removal in 3.12:
    
    - sqlite3.OptimizedUnicode (gh-23163)
    - sqlite3.enable_shared_cache (gh-24008)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    erlend-aasland and JelleZijlstra committed May 16, 2022
  3. Improve object stats (#92845)

    * Add incref/decref stats
    
    * Show ratios for allocation in summary
    markshannon committed May 16, 2022
  4. gh-92820: Skip test_cppext if _ctypes is missing (#92844)

    Add @test.support.requires_venv_with_pip decorator.
    vstinner committed May 16, 2022
  5. gh-81548: Clarify the deprecation of octal sequences affect byte stri…

    …ngs (GH-92643)
    
    Automerge-Triggered-By: GH:pablogsal
    pablogsal committed May 16, 2022
  6. gh-92530: Fix an issue that occurred after interrupting threading.Con…

    …dition.notify (GH-92534)
    
    If Condition.notify() was interrupted just after it released the waiter lock,
    but before removing it from the queue, the following calls of notify() failed
    with RuntimeError: cannot release un-acquired lock.
    serhiy-storchaka committed May 16, 2022

Commits on May 15, 2022

  1. Restore default role check in make check. (#92290)

    * Restore default role check in `make check`.
    
    * Options first, then files.
    
    * Update `make.bat` too.
    
    * Add a comment explaining the extra options.
    
    * No reason to ignore the README.rst.
    
    * Enable default-role check in sphinx-lint.
    
    Co-authored-by: Julien Palard <julien@palard.fr>
    
    * Update sphinx-lint default-role check.
    
    * Fix use of the default role in the docs.
    
    * Update make.bat to check for the default role too.
    
    * Fix comment in make.bat.
    
    Co-authored-by: Julien Palard <julien@palard.fr>
    ezio-melotti and JulienPalard committed May 15, 2022
  2. gh-92781: Avoid mixing declarations and code in C API (#92783)

    Avoid mixing declarations and code in the C API to fix the compiler
    warning: "ISO C90 forbids mixed declarations and code"
    [-Werror=declaration-after-statement].
    vstinner committed May 15, 2022

Commits on May 13, 2022

  1. Fix small typo (#92721)

    g4b1nagy committed May 13, 2022
  2. Document Py_ssize_t. (GH-92512)

    It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But
    there's 8182 errors left.
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    JulienPalard and ezio-melotti committed May 13, 2022
  3. gh-85858: Remove PyUnicode_InternImmortal() function (#92579)

    Remove the PyUnicode_InternImmortal() function and the
    SSTATE_INTERNED_IMMORTAL macro.
    
    The PyUnicode_InternImmortal() function is still exported in the
    stable ABI. The function is removed from the API.
    
    PyASCIIObject.state.interned size is now a single bit, rather than 2
    bits.
    
    Keep SSTATE_NOT_INTERNED and SSTATE_INTERNED_MORTAL macros for
    backward compatibility, but no longer use them internally since the
    interned member is now a single bit and so can only have two values
    (interned or not interned).
    
    Update stats of _PyUnicode_ClearInterned().
    vstinner committed May 13, 2022
  4. gh-89653: Use int type for Unicode kind (#92704)

    Use the same type that PyUnicode_FromKindAndData() kind parameter
    type (public C API): int.
    vstinner committed May 13, 2022
Older