cpython
cpython copied to clipboard
The Python programming language
BPO | [39584](https://bugs.python.org/issue39584) --- | :--- Nosy | @ronaldoussoren, @pitrou, @tiran, @ned-deily, @applio, @vinay0410 PRs | python/cpython#21877 *Note: these values reflect the state of the issue at the time it...
This fixes #121746. The binding fixed is consistent with the experience in IPython and ptpython. * Issue: gh-121746
* Issue: gh-121403 ---- 📚 Documentation preview 📚: https://cpython-previews--121626.org.readthedocs.build/
# Bug report ### Bug description: Hello, while trying to port uwsgi to 3.13 got this: ``` plugins/python/python_plugin.c: In function ‘uwsgi_python_pre_uwsgi_fork’: plugins/python/python_plugin.c:1376:17: error: implicit declaration of function ‘_PyImport_AcquireLock’ [-Werror=implicit-function-declaration] 1376...
- [ ] [`importlib.abc.Loader`](https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module) - [ ] [`importlib.abc.InspectLoader.load_module()`](https://docs.python.org/3/library/importlib.html#importlib.abc.InspectLoader.load_module) - [ ] [`importlib.abc.FileLoader.load_module()`](https://docs.python.org/3/library/importlib.html#importlib.abc.FileLoader.load_module) - [ ] [`importlib.abc.SourceLoader.load_module()`](https://docs.python.org/3/library/importlib.html#importlib.abc.SourceLoader.load_module) - [ ] [`importlib.machinery.SourceFileLoader.load_module()`](https://docs.python.org/3/library/importlib.html#importlib.machinery.SourceFileLoader.load_module) - [ ] [`imortlib.machinery.SourcelessFileLoader`](https://docs.python.org/3/library/importlib.html#importlib.machinery.SourcelessFileLoader.load_module) - [ ] [`importlib.abc.ResourceLoader`](https://docs.python.org/3/library/importlib.html#importlib.abc.ResourceLoader) - [...
It is no longer safe to directly access `zipimport._zip_directory_cache` since #103208. It is not guaranteed that the cache is acutally filled. This changed fixes this by using the internal method...
# Bug report This code is problematic: https://github.com/python/cpython/blob/dc03ce797ae8786a9711e6ee5dcaadde02c55864/Objects/genericaliasobject.c#L565-L569 Why? `Py_GenericAlias` can return `NULL` in different cases: https://github.com/python/cpython/blob/dc03ce797ae8786a9711e6ee5dcaadde02c55864/Objects/genericaliasobject.c#L995-L999 So, we need to check for `NULL`. ### Linked PRs * gh-121661 *...
This extension module has some module state values which may be read or written in different threads: - `field_limit`: A simple integer value to store the maximum field size for...
This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files. I took inspiration from the PR #12871 for the tests I've...
console.compile with the "single" param throws an exception when there are multiple statements, never allowing to adding newlines to a pasted code block (gh-121610) This add a few extra checks...