Skip to content
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 Mar 16, 2023

  1. gh-99726: Improves correctness of stat results for Windows, and uses …

    …faster API when available (GH-102149)
    
    This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the correct value in 3.14. For now, they should keep returning the creation time as they always have.
    zooba committed Mar 16, 2023
  2. gh-102737: Un-ignore ceval.c in the CI globals check (gh-102745)

    The tool now allows user-added #LINE preprocessor directives.
    
    #102737
    ericsnowcurrently committed Mar 16, 2023
  3. GH-102748: remove legacy support for generator based coroutines from …

    …`asyncio.iscoroutine` (#102749)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    kumaraditya303 and AlexWaygood committed Mar 16, 2023
  4. gh-102721: Improve coverage of `_collections_abc._CallableGenericAlia…

    …s` (#102722)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    sobolevn and AlexWaygood committed Mar 16, 2023
  5. Add comments to {typing,_collections_abc}._type_repr about each oth…

    …er (#102752)
    
    Remove `if` condition in `_collections_abc._type_repr` that's no longer needed, bringing it in sync with `typing._type_repr`.
    sobolevn committed Mar 16, 2023
  6. gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468)

    Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging.
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    yonatanp and AlexWaygood committed Mar 16, 2023
  7. gh-102660: Fix Refleaks in import.c (#102744)

    gh-102661 introduced some leaks. This fixes them.
    
    #102660
    ericsnowcurrently committed Mar 16, 2023

Commits on Mar 15, 2023

  1. Exclude ceval.c from the C-analyzer tool (#102735)

    The "check if generated files are up to date" CI check appears to be currently failing on all PRs (but not on pushes to main) 
    
    See, for example:
    - #94468
    - #94468
    - #102731
    
    This appears to be because the C-analyzer tool doesn't like the `#line` directives introduced in 70185de. I'm advised by the message printed to the terminal in https://github.com/python/cpython/actions/runs/4428706945/jobs/7768216988#step:14:84 that this is the appropriate short-term fix!
    AlexWaygood committed Mar 15, 2023
  2. gh-102654: Insert #line directives in generated_cases.c.h (#102669)

    This behavior is optional, because in some extreme cases it
    may just make debugging harder. The tool defaults it to off,
    but it is on in Makefile.pre.in.
    
    Also note that this makes diffs to generated_cases.c.h noisier,
    since whenever you insert or delete a line in bytecodes.c,
    all subsequent #line directives will change.
    gvanrossum committed Mar 15, 2023
  3. gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)

    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    JulienPalard and erlend-aasland committed Mar 15, 2023
  4. gh-102615: Use list instead of tuple in repr of paramspec (#102637

    )
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    sobolevn and AlexWaygood committed Mar 15, 2023
  5. Remove misformatted exclamation marks in docs (#102694)

    Remove the exclamation mark from :program:`!foo` in .rst files because
    it inadvertently shows up in the rendered HTML.
    
    (Sphinx's cross-referencing roles use a '!' prefix to suppress
    hyperlinking[1], but :program: is not a cross-referencing role so the
    '!' is displayed verbatim.)
    
    The exclamation marks in venv.rst were introduced in #98350. See
    comments [2] and [3] for additional discussion.
    
    [1]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-syntax
    [2]: #98350 (comment)
    [3]: #98350 (comment)
    
    Reported-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
    tom93 committed Mar 15, 2023
  6. gh-101377: improving test_locale_calendar_formatweekday of calendar (#…

    …101378)
    
    
    ---------
    
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    3 people committed Mar 15, 2023
  7. gh-102703: Fix typo in modules tutorial documentation (GH-102707)

    **Before**
    This prevents directories with a common name, such as ``string``, unintentionally hiding ...
    **After**
    This prevents directories with a common name, such as ``string``, from unintentionally hiding ...
    rprater committed Mar 15, 2023

Commits on Mar 14, 2023

  1. gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685)

    It's not use except in a test, so move it there instead.
    corona10 committed Mar 14, 2023
  2. gh-102660: Handle m_copy Specially for the sys and builtins Modules (g…

    …h-102661)
    
    It doesn't make sense to use multi-phase init for these modules. Using a per-interpreter "m_copy" (instead of PyModuleDef.m_base.m_copy) makes this work okay. (This came up while working on gh-101660.)
    
    Note that we might instead end up disallowing re-load for sys/builtins since they are so special.
    
    #102660
    ericsnowcurrently committed Mar 14, 2023
Older