cpython
cpython copied to clipboard
The Python programming language
Fix 3 bugs introduced in #18609. Bug reason lists in each commit's commit message. https://bugs.python.org/issue20291 * Issue: gh-64490
Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like https://github.com/python/cpython/pull/32092 so adding...
That, as an example, leads to cpython 3.9.13 build failing[^1] when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl. As already described and confirmed as a...
If kernel fips is enabled, we get permission error upon doing `import crypt`. So, if kernel fips is enabled, disable the unallowed hashing methods. Python 3.9.1 (default, May 10 2022,...
Proposing a new **kwarg** in the `__init__()` method of `multiprocessing.Pool` named `expect_initret`. This **kwarg** defaults to `False`. When set to `True`, the return value of the `initializer` function is passed...
There was some awkward junk left around between release notes, and I also noticed and fixed a typo. I think this PR warrants a "skip issue" label. 
Sometimes ``math.nextafter()`` needs to be applied multiple times in succession. x = nextafter(nextafter( nextafter(x, inf), inf), inf) # Three steps up It would be nice if the function supported this...
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...
The top google result for "determine sprintf buffer size" is https://stackoverflow.com/a/3923207/102441, which advocates code along the lines of ```C int size = snprintf(NULL, 0, "%d", 132); char * a =...
# Bug report Release and debug builds of python are now ABI-compatible (https://github.com/python/cpython/pull/12615 https://github.com/python/cpython/pull/12952), so there is no need to skip build of `libpython3.so` when building with `--with-pydebug` flag. https://github.com/python/cpython/blob/b24e8b28a7dc585ba367a959be83393f2352d21d/configure.ac#L1498-L1501...