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 Nov 11, 2022

  1. gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (#98437)

    fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py
    
    [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
    mattwang44 committed Nov 11, 2022

Commits on Nov 10, 2022

  1. gh-99300: Use Py_NewRef() in Objects/ directory (#99354)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Objects/ directory.
    vstinner committed Nov 10, 2022
  2. gh-99300: Use Py_NewRef() in Objects/ directory (#99351)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Objects/ directory.
    vstinner committed Nov 10, 2022
  3. gh-99300: Use Py_NewRef() in Objects/ directory (#99335)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Objects/ directory.
    vstinner committed Nov 10, 2022
  4. gh-99300: Use Py_NewRef() in Objects/listobject.c (#99336)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in Objects/listobject.c.
    vstinner committed Nov 10, 2022
  5. GH-98831: Remove all remaining DISPATCH() calls from bytecodes.c (#99271

    )
    
    Also mark those opcodes that have no stack effect as such.
    
    Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
    gvanrossum and brandtbucher committed Nov 10, 2022
  6. gh-99204: Calculate base_executable by alternate names in POSIX venvs (

    …GH-99206)
    
    Check to see if `base_executable` exists. If it does not, attempt
    to use known alternative names of the python binary to find an
    executable in the path specified by `home`.
    
    If no alternative is found, previous behavior is preserved.
    
    Signed-off-by: Vincent Fazio <vfazio@gmail.com>
    
    Signed-off-by: Vincent Fazio <vfazio@gmail.com>
    vfazio committed Nov 10, 2022
  7. gh-99277: remove older version of get_write_buffer_limits (#99280)

    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    csuriano23 and kumaraditya303 committed Nov 10, 2022
  8. gh-99300: Use Py_NewRef() in Objects/dictobject.c (#99333)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in Objects/dictobject.c.
    vstinner committed Nov 10, 2022
  9. gh-99300: Use Py_NewRef() in Objects/ directory (#99332)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Objects/ directory.
    vstinner committed Nov 10, 2022
  10. gh-99300: Use Py_NewRef() in Parser/ directory (#99330)

    Replace Py_INCREF() with Py_NewRef() in C files of the Parser/
    directory and in the PEG generator.
    vstinner committed Nov 10, 2022
  11. GH-96421: Insert shim frame on entry to interpreter (GH-96319)

    * Adds EXIT_INTERPRETER instruction to exit PyEval_EvalDefault()
    
    * Simplifies RETURN_VALUE, YIELD_VALUE and RETURN_GENERATOR instructions as they no longer need to check for entry frames.
    markshannon committed Nov 10, 2022
  12. gh-99300: Use Py_NewRef() in Python/ceval.c (#99318)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in Python/ceval.c and related files.
    vstinner committed Nov 10, 2022
  13. gh-99300: Use Py_NewRef() in Python/ directory (#99317)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Python/ directory.
    
    Update Parser/asdl_c.py to regenerate Python/Python-ast.c.
    vstinner committed Nov 10, 2022
  14. gh-99300: Use Py_NewRef() in Python/ directory (#99302)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in C files of the Python/ directory.
    vstinner committed Nov 10, 2022
  15. bpo-34272: Reorganize C API tests. (GH-8551)

    Move some C API tests into Lib/test/test_capi/.
    serhiy-storchaka committed Nov 10, 2022

Commits on Nov 9, 2022

  1. gh-98832: Change wording in docstring of pathlib.Path.iterdir (GH-9…

    …8833)
    
    Found while working on #98829
    
    Automerge-Triggered-By: GH:AlexWaygood
    sobolevn committed Nov 9, 2022
  2. Update reference to the size of PyPI (#99076)

    Update reference to the size of PyPI
    
    Last changed in 2008 (5285760).
    joelsgp committed Nov 9, 2022
  3. gh-98724: Fix Py_CLEAR() macro side effects (#99100)

    The Py_CLEAR(), Py_SETREF() and Py_XSETREF() macros now only evaluate
    their argument once. If an argument has side effects, these side
    effects are no longer duplicated.
    
    Add test_py_clear() and test_py_setref() unit tests to _testcapi.
    vstinner committed Nov 9, 2022
  4. gh-90868: Add _PyStaticObject_CheckRefcnt() function (#99261)

    Add _PyStaticObject_CheckRefcnt() function to make
    _PyStaticObjects_CheckRefcnt() shorter. Use
    _PyObject_ASSERT_FAILED_MSG() to log the object causing the fatal
    error.
    vstinner committed Nov 9, 2022

Commits on Nov 8, 2022

  1. gh-99248: [Enum] fix negative number infinite loop (GH-99256)

    [Enum] fix negative number infinite loop
    
    - _iter_bits_lsb() now raises a ValueError if a negative number
      is passed in
    
    - verify() now skips checking negative numbers for named flags
    ethanfurman committed Nov 8, 2022
Older