cpython
cpython copied to clipboard
The Python programming language
* Issue: gh-122767 ---- 📚 Documentation preview 📚: https://cpython-previews--122848.org.readthedocs.build/
# Bug report ### Bug description: 8 years ago, @ambv add dtrace support in CPython in https://github.com/python/cpython/commit/a785c87d6eacbed81543a8afe3cb098fabb9610a For now, after check the code, I think the point following below is...
# Bug report ### Bug description: Setting [Warning](https://docs.python.org/3/library/exceptions.html#Warning) to `category` argument of [warnings.filterwarnings()](https://docs.python.org/3/library/warnings.html#warnings.filterwarnings) works, then setting the `str` type value `"Hello World"` to `category` argument of `warnings.filterwarnings()` gets the error...
# Bug report ### Bug description: With [warnings.simplefilter("module")](https://docs.python.org/3/library/warnings.html#warnings.simplefilter) and [warnings.warn()](https://docs.python.org/3/library/warnings.html#warnings.warn), I ran `main.py` which runs `file1.py`(module) and `file2.py`(module) as shown below: *Memos: - [The doc](https://docs.python.org/3/library/warnings.html#the-warnings-filter) says `"module" print the first...
This PR implements the foundational work necessary for making the specializing interpreter thread-safe in free-threaded builds and enables specialization for `BINARY_OP` as an end-to-end example. To enable future incremental work,...
# Bug report Our abstract interpreter should have a case for `_BINARY_OP_INPLACE_ADD_UNICODE`, since this "special" instruction includes a store to a fast local. This can mean that the local being...
Adds a flag to check if the helper is active, interrupting it instead of opening a new instance if so This is to stop F1 from opening multiple instances of...
On the main python documentation page: https://docs.python.org/3.14/ there is a link to [Contributing to Docs](https://devguide.python.org/docquality/#helping-with-documentation) which links to "https://devguide.python.org/docquality/#helping-with-documentation" which redirects to "https://devguide.python.org/documentation/help-documenting/index.html#helping-with-documentation". I think the link should directly link...
This PR fixes an issue in the Makefile.pre.in of Cpython. Specifically, previously, any modifications of files like Objects/mimalloc/alloc-override.c would not trigger a rebuild of Objects/obmalloc.o. The PR fixes this by...
## Description I believe I've found a performance regression for large loops in Python 3.12 vs. 3.11. This effect is more pronounced when the value being stored is non-constant –...