Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jun 9, 2023

  1. gh-105375: Harden error handling in _testcapi/heaptype.c (#105608)

    Bail on first error in heapctypesubclasswithfinalizer_finalize()
    erlend-aasland committed Jun 9, 2023
  2. gh-105375: Improve error handling in zoneinfo module (#105586)

    Fix bugs where exceptions could end up being overwritten
    because of deferred error handling.
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    sobolevn and erlend-aasland committed Jun 9, 2023
  3. gh-105375: Improve error handling in _elementtree (#105591)

    Fix bugs where exceptions could end up being overwritten.
    erlend-aasland committed Jun 9, 2023
  4. gh-105375: Improve posix error handling (#105592)

    Fix a bug where an IndexError could end up being overwritten.
    erlend-aasland committed Jun 9, 2023
  5. gh-105375: Improve errnomodule error handling (#105590)

    Bail immediately if an exception is set, to prevent exceptions from
    being overwritten.
    erlend-aasland committed Jun 9, 2023
  6. gh-105375: Improve _pickle error handling (#105475)

    Error handling was deferred in some cases, which could potentially lead
    to exceptions being overwritten.
    erlend-aasland committed Jun 9, 2023
  7. gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (G…

    …H-105542)
    
    When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inverting an IntFlag member (or boundary KEEP), also consider aliases.
    ethanfurman committed Jun 9, 2023
  8. Miscellaneous improvements to the typing docs (#105529)

    Mostly, these are changes so that we use shorter sentences and shorter paragraphs. In particular, I've tried to make the first sentence introducing each object in the typing API short and declarative.
    AlexWaygood committed Jun 9, 2023
  9. gh-105557: Remove duplicate sqlite3 test method (#105558)

    test_func_return_too_large_int() was defined twice.
    Keep only the redefined method, as that also checks the tracebacks.
    erlend-aasland committed Jun 9, 2023
  10. gh-94924: support inspect.iscoroutinefunction in `create_autospec(a…

    …sync_def)` (#94962)
    
    * support inspect.iscoroutinefunction in create_autospec(async_def)
    
    * test create_autospec with inspect.iscoroutine and inspect.iscoroutinefunction
    
    * test when create_autospec functions check their signature
    graingert committed Jun 9, 2023
  11. gh-102304: Remove Py_INCREF() doc change (#105552)

    Py_INCREF() was made compatible again with Python 3.9 and older in
    the limited API of Python debug mode.
    vstinner committed Jun 9, 2023
  12. gh-102304: Fix Py_INCREF() for limited C API 3.9 (#105550)

    When Python is built in debug mode (Py_REF_DEBUG macro), Py_INCREF()
    and Py_DECREF() of the limited C API 3.9 (and older) now call
    Py_IncRef() and Py_DecRef(), since _Py_IncRef() and _Py_DecRef() were
    added to Python 3.10.
    vstinner committed Jun 9, 2023
  13. gh-105396: Deprecate PyImport_ImportModuleNoBlock() function (#105397)

    Deprecate the PyImport_ImportModuleNoBlock() function which is just
    an alias to PyImport_ImportModule() since Python 3.3.
    vstinner committed Jun 9, 2023

Commits on Jun 8, 2023

  1. gh-102832: IDLE - update stackviewer open (#105528)

    Use 'last_exc' instead of 'last_value' in 3.12/3.
    terryjreedy committed Jun 8, 2023
  2. gh-100227: Lock Around Modification of the Global Allocators State (g…

    …h-105516)
    
    The risk of a race with this state is relatively low, but we play it safe anyway. We do avoid using the lock in performance-sensitive cases where the risk of a race is very, very low.
    ericsnowcurrently committed Jun 8, 2023
  3. gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348)

    * revert enum pickling from by-name to by-value
    
    Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
    sobolevn and ethanfurman committed Jun 8, 2023
  4. gh-100227: Lock Around Adding Global Audit Hooks (gh-105515)

    The risk of a race with this state is relatively low, but we play it safe anyway.
    ericsnowcurrently committed Jun 8, 2023
  5. gh-104310: Rename the New Function in importlib.util (gh-105255)

    The original name wasn't as clear as it could have been. This change includes the following:
    
    * rename the function
    * change the default value for "disable_check" to False
    * add clues to the docstring that folks should probably not use the function
    
    ---------
    
    Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
    ericsnowcurrently and Eclips4 committed Jun 8, 2023
  6. gh-100227: Lock Around Use of the Global "atexit" State (gh-105514)

    The risk of a race with this state is relatively low, but we play it safe anyway.
    ericsnowcurrently committed Jun 8, 2023
  7. GH-105229: Remove remaining two-codeunit superinstructions (GH-105326)

    * Remove LOAD_CONST__LOAD_FAST and LOAD_FAST__LOAD_CONST superinstructions.
    markshannon committed Jun 8, 2023
Older