cpython
cpython copied to clipboard
The Python programming language
# Feature or enhancement ### Proposal: @brandtbucher pointed out that we could automatically evaluate pure ops in the JIT. Back when I originally envisioned this in the JIT optimizer, it...
---- 📚 Documentation preview 📚: https://cpython-previews--131924.org.readthedocs.build/ * Issue: gh-130167
Addresses issue #135640 by adding type checking to the constructor and to `ElementTree._setroot`, since both have the opportunity to assign _root. In addition to addressing the primary issue (possible data...
Hopefully this PR is not too big. I can split it up if that would make it easier to review. The f-string section is untouched here; a stub is added...
* Issue: gh-134939 ---- 📚 Documentation preview 📚: https://cpython-previews--135902.org.readthedocs.build/
# Bug report ### Bug description: Caveat Emptor: I'm not a Python programmer and I'm trying to debug a relatively complicated local Python script which has started failing with Python3.13....
---- 📚 Documentation preview 📚: https://cpython-previews--142845.org.readthedocs.build/ * Issue: gh-139038
# Bug report ### Bug description: Currently, the [`qsize()`](https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue.qsize) and [`full()`](https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue.full) methods rely on the semaphore value (they change their result immediately after the put operation is performed). However, the...