cpython
cpython copied to clipboard
The Python programming language
* Issue: gh-73433 ---- 📚 Documentation preview 📚: https://cpython-previews--143296.org.readthedocs.build/
Out of 263 total uops, 155 of these are ignored by the tier two optimizer. These represent over half of all uops by dynamic execution count. This issue will serve...
When a C profile function is in effect (such as one installed by `cProfile`), `sys.getprofile()` returns the internal profiler object rather than a callable. This object is not suitable for...
BPO | [25726](https://bugs.python.org/issue25726) --- | :--- Nosy | @birkenfeld, @stefanseefeld *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the...
* Issue: gh-142972 ---- 📚 Documentation preview 📚: https://cpython-previews--143025.org.readthedocs.build/
Design described in https://github.com/python/cpython/issues/142764. Fixes https://github.com/python/cpython/issues/142764. * Issue: gh-142764
# Feature or enhancement ### Proposal: With refcount elimination, ops may have more than one output. E.g. ``` op(_BINARY_OP_ADD_INT, (lhs, rhs -- res)) ``` is now ``` op(_BINARY_OP_ADD_INT, (lhs, rhs...
The current implementation of `multipart/related` in urllib triggers header defects even though the headers are valid: `[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()]` The example header is valid according to RFC 2387 (https://tools.ietf.org/html/rfc2387): ``` Content-Type:...
# Crash report ### What happened? It's possible to make the interpreter abort by running the code below: ```python import _thread for x in range(10): _thread.stack_size(59877) _thread.start_joinable_thread(str) ``` Backtrace: ```...
This PR adds an additional table to the output from `summarize_stats.py`. Namely, a table of `(# of times a uop was exectued) * (length of that UOp in machine code)`,...