Skip to content

Commits on Nov 23, 2022

Commits on Nov 18, 2022

Commits on Nov 14, 2022

  1. gh-99300: Use Py_NewRef() in PC/ directory (#99479)

    Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
    Py_XNewRef() in test C files of the PC/ directory.
    vstinner committed Nov 14, 2022

Commits on Nov 3, 2022

  1. gh-92584: Remove the distutils package (#99061)

    Remove the distutils package. It was deprecated in Python 3.10 by PEP
    632 "Deprecate distutils module". For projects still using distutils
    and cannot be updated to something else, the setuptools project can
    be installed: it still provides distutils.
    
    * Remove Lib/distutils/ directory
    * Remove test_distutils
    * Remove references to distutils
    * Skip test_check_c_globals and test_peg_generator since they use
      distutils
    vstinner committed Nov 3, 2022

Commits on Oct 28, 2022

Commits on Oct 27, 2022

  1. gh-98586: Add vector call APIs to the Limited API (GH-98587)

    Expose the facilities for making vector calls through Python's limited API.
    wjakob committed Oct 27, 2022

Commits on Oct 17, 2022

  1. gh-97669: Create Tools/build/ directory (#97963)

    Create Tools/build/ directory. Move the following scripts from
    Tools/scripts/ to Tools/build/:
    
    * check_extension_modules.py
    * deepfreeze.py
    * freeze_modules.py
    * generate_global_objects.py
    * generate_levenshtein_examples.py
    * generate_opcode_h.py
    * generate_re_casefix.py
    * generate_sre_constants.py
    * generate_stdlib_module_names.py
    * generate_token.py
    * parse_html5_entities.py
    * smelly.py
    * stable_abi.py
    * umarshal.py
    * update_file.py
    * verify_ensurepip_wheels.py
    
    Update references to these scripts.
    vstinner committed Oct 17, 2022

Commits on Oct 3, 2022

  1. gh-97681: Remove Tools/demo/ directory (#97682)

    Remove the Tools/demo/ directory which contained old demo scripts. A
    copy can be found in the old-demos project:
    https://github.com/gvanrossum/old-demos
    
    Remove the following old demo scripts:
    
    * beer.py
    * eiffel.py
    * hanoi.py
    * life.py
    * markov.py
    * mcast.py
    * queens.py
    * redemo.py
    * rpython.py
    * rpythond.py
    * sortvisu.py
    * spreadsheet.py
    * vector.py
    
    Changes:
    
    * Remove a reference to the redemo.py script in the regex howto
      documentation.
    * Remove a reference to the removed Tools/demo/ directory in the
      curses documentation.
    * Update PC/layout/ to remove the reference to Tools/demo/ directory.
    vstinner committed Oct 3, 2022
  2. gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICO…

    …DE converter (GH-97729)
    
    It affects function os.system() on Windows and Windows-specific modules
    winreg, _winapi, _overlapped, and _msi.
    serhiy-storchaka committed Oct 3, 2022

Commits on Sep 5, 2022

  1. gh-96559: Fixes Windows launcher handling of defaults using old-style…

    … tags, and adds What's New section (GH-96595)
    zooba committed Sep 5, 2022

Commits on Aug 11, 2022

  1. gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generate…

    …d Code (gh-95860)
    
    We only statically initialize for core code and builtin modules.  Extension modules still create
    the tuple at runtime.  We'll solve that part of interpreter isolation separately.
    
    This change includes generated code. The non-generated changes are in:
    
    * Tools/clinic/clinic.py
    * Python/getargs.c
    * Include/cpython/modsupport.h
    * Makefile.pre.in (re-generate global strings after running clinic)
    * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c
    
    All other changes are generated code (clinic, global strings).
    ericsnowcurrently committed Aug 11, 2022

Commits on Jul 26, 2022

  1. gh-95174: Handle missing dup() and constants in WASI (GH-95229)

    - check for ``dup()`` libc function
    - handle missing ``F_DUPFD`` in ``dup2()`` replacement function
    - add workaround for WASI libc bug in MSG_TRUNC
    - ESHUTDOWN is missing, use EPIPE instead
    - POLLPRI is missing, define as 0 (no-op)
    tiran committed Jul 26, 2022

Commits on Jun 30, 2022

Older