cpython
cpython copied to clipboard
The Python programming language
# Bug report ## Checklist - [x] I am confident this is a bug in CPython, not a bug in a third-party project - [x] I have searched the CPython...
This PR is reverted in #116178 because of a refleak failure. The test was proved to be wrong(not useful anymore?) with `main` and was removed in #116687. So this PR...
# Feature or enhancement This issue is to track the remaining bugs that prevent the Python test suite from passing with the GIL disabled, as well as the PRs under...
This PR installs mimalloc headers and allow extensions that access `pycore_*.h` continue working. Such extensions need to explicitly add `internal/mimalloc` to its header search path. * Issue: gh-116984
# Feature or enhancement In the free-threaded build, we should use a stop-the-world call to make `fork()` [^1] and shutdown (i.e, [`Py_FinalizeEx`](https://github.com/python/cpython/blob/c951e25c24910064a4c8b7959e2f0f7c0d4d0a63/Python/pylifecycle.c#L1866)) thread-safe. The two operations are similar in that...
initWithContentsOfFile does not add the NSImage to the release pool when it should.
# Feature or enhancement ### Proposal: Five changes: 1. Deduplicate code in `split`, `basename` & `dirname` like in `ntpath`. 2. Decouple logic for `splitdrive` from `splitroot` in `ntpath`. 3. Deduplicate...
This fixes the issue for me, but I might be missing context cc @serhiy-storchaka, who added the test cc @barneygale -- I think I recall you talking about optimizing globs;...
The SSL_write() and SSL_read() used in python 3.9 were modified from python 3.10 to SSL_write_ex() and SSL_read_ex(), and the return value was fixed to 0 on error. I modified it...