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 Feb 5, 2023

  1. gh-101334: Don't force USTAR format in test_tarfile. (GH-101572)

    That causes the test to fail when run using a high UID as that ancient format
    cannot represent it. The current default (PAX) and the old default (GNU) both
    support high UIDs.
    gpshead committed Feb 5, 2023
  2. bpo-33591: Add support for path like objects to ctypes.CDLL (#7032)

    Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
    mrh1997 and arhadthedev committed Feb 5, 2023
  3. gh-76961: Fix the PEP3118 format string for ctypes.Structure (#5561)

    The summary of this diff is that it:
    
    * adds a `_ctypes_alloc_format_padding` function to append strings like `37x` to a format string to indicate 37 padding bytes
    * removes the branches that amount to "give up on producing a valid format string if the struct is packed"
    * combines the resulting adjacent `if (isStruct) {`s now that neither is `if (isStruct && !isPacked) {`
    * invokes `_ctypes_alloc_format_padding` to add padding between structure fields, and after the last structure field. The computation used for the total size is unchanged from ctypes already used.
    
    This patch does not affect any existing aligment computation; all it does is use subtraction to deduce the amount of paddnig introduced by the existing code.
    
    ---
    
    Without this fix, it would never include padding bytes - an assumption that was only
    valid in the case when `_pack_` was set - and this case was explicitly not implemented.
    
    This should allow conversion from ctypes structs to numpy structs
    
    Fixes numpy/numpy#10528
    eric-wieser committed Feb 5, 2023
  4. gh-101570: Update bundled pip version to 23.0 (#101571)

    Update bundled pip version to 23.0
    
    This is the current latest version of `pip`.
    
    ---------
    
    Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    3 people committed Feb 5, 2023
  5. gh-101266: Fix __sizeof__ for subclasses of int (#101394)

    Fix the behaviour of the `__sizeof__` method (and hence the results returned by `sys.getsizeof`) for subclasses of `int`. Previously, `int` subclasses gave identical results to the `int` base class, ignoring the presence of the instance dictionary.
    
    <!-- gh-issue-number: gh-101266 -->
    * Issue: gh-101266
    <!-- /gh-issue-number -->
    mdickinson committed Feb 5, 2023

Commits on Feb 4, 2023

  1. GH-100485: Create an alternative code path when an accurate fma() imp…

    …lementation is not available (#101567)
    rhettinger committed Feb 4, 2023
  2. gh-101322: Ensure test_zlib.ZlibDecompressorTest runs, fix errors in …

    …ZlibDecompressor (#101323)
    
    * Ensure test_zlib.ZlibDecompressorTest actually runs, fix errors in ZlibDecompressor.
    rhpvorderman committed Feb 4, 2023
  3. gh-101282: Update BOLT --split-functions flag not to use deprecated u… (

    gh-101557)
    
    gh-101282: Update BOLT --split-functions flag not to use deprecated usage
    corona10 committed Feb 4, 2023
  4. GH-56426: Add cross-reference to the documentation for faulthandler, …

    …traceback, and pdb. (#101157)
    
    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    furkanonder and CAM-Gerlach committed Feb 4, 2023
  5. gh-101524: Split Up the _xxsubinterpreters Module (gh-101526)

    This is step 1 in potentially dropping all the "channel"-related code. Channels have already been removed from PEP 554.
    
    #101524
    ericsnowcurrently committed Feb 4, 2023

Commits on Feb 3, 2023

  1. gh-84559: Remove the new multiprocessing warning, too disruptive. (#1…

    …01551)
    
    This reverts the core of #100618 while leaving relevant documentation
    improvements and minor refactorings in place.
    gpshead committed Feb 3, 2023
  2. gh-101522: Allow overriding Windows dependencies versions and paths u…

    …sing MSBuild properties (GH-101523)
    zooba committed Feb 3, 2023
  3. gh-98831: rewrite SEND, GET_YIELD_FROM_ITER, RETURN_GENERATOR in the …

    …instruction definition DSL (#101516)
    iritkatriel committed Feb 3, 2023
  4. gh-101277: Port more itertools static types to heap types (#101303)

    Add dropwhile, takewhile, starmap, combinations*, and permutations types to module state.
    erlend-aasland committed Feb 3, 2023
  5. gh-84559: skip the test when no multiprocessing (wasm, etc) (#101530)

    skip test when no _multiprocessing (wasm, etc)
    gpshead committed Feb 3, 2023
  6. gh-100925: Move array methods under class in array doc (#101485)

    * Move array methods under class in array doc
    
    * Fix a few internal references related to the touched lines
    CAM-Gerlach committed Feb 3, 2023

Commits on Feb 2, 2023

  1. GH-84559: Deprecate fork being the multiprocessing default. (#100618)

    This starts the process. Users who don't specify their own start method
    and use the default on platforms where it is 'fork' will see a
    DeprecationWarning upon multiprocessing.Pool() construction or upon
    multiprocessing.Process.start() or concurrent.futures.ProcessPool use.
    
    See the related issue and documentation within this change for details.
    gpshead committed Feb 2, 2023
  2. gh-96305: Fix AIX build by avoiding subprocess during bootstrap (#96429)

    * Fix AIX build by avoiding `subprocess` during bootstrap.
    ayappanec committed Feb 2, 2023

Commits on Feb 1, 2023

  1. Docs: improve accuracy of sqlite3 check_same_thread parameter (#101351

    )
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    3 people committed Feb 1, 2023
  2. gh-101467: Correct py.exe handling of prefix matches and cases when o…

    …nly one runtime is installed (GH-101468)
    zooba committed Feb 1, 2023
Older