main
Name already in use
Commits on Feb 6, 2023
Commits on Feb 5, 2023
-
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.
-
bpo-33591: Add support for path like objects to
ctypes.CDLL(#7032)Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
-
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 -
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>
-
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 -->
-
Commits on Feb 4, 2023
-
GH-100485: Create an alternative code path when an accurate fma() imp…
…lementation is not available (#101567)
-
gh-101322: Ensure test_zlib.ZlibDecompressorTest runs, fix errors in …
…ZlibDecompressor (#101323) * Ensure test_zlib.ZlibDecompressorTest actually runs, fix errors in ZlibDecompressor.
-
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>
-
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
Commits on Feb 3, 2023
-
gh-84559: Remove the new multiprocessing warning, too disruptive. (#1…
-
gh-101522: Allow overriding Windows dependencies versions and paths u…
…sing MSBuild properties (GH-101523)
-
gh-98831: rewrite SEND, GET_YIELD_FROM_ITER, RETURN_GENERATOR in the …
…instruction definition DSL (#101516)
-
gh-101277: Port more
itertoolsstatic types to heap types (#101303)Add dropwhile, takewhile, starmap, combinations*, and permutations types to module state.
-
-
gh-84559: skip the test when no multiprocessing (wasm, etc) (#101530)
skip test when no _multiprocessing (wasm, etc)
-
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
Commits on Feb 2, 2023
-
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.
-
gh-96305: Fix AIX build by avoiding subprocess during bootstrap (#96429)
* Fix AIX build by avoiding `subprocess` during bootstrap.
-