cpython
cpython copied to clipboard
The Python programming language
The SAI, tracer and optimizer all contain a number of heuristics about when to optimize, how to link the optimized code and when to backoff, etc. Almost all of these...
# Bug report ### Bug description: In C, the null byte indicates the end of a `char[]`. In `INT` and `LONG` opcodes for pickle, everything up to a newline is...
BPO | [15313](https://bugs.python.org/issue15313) --- | :--- Nosy | @terryjreedy, @serwy *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the...
BPO | [25218](https://bugs.python.org/issue25218) --- | :--- Nosy | @terryjreedy, @zware *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the...
BPO | [1721083](https://bugs.python.org/issue1721083) --- | :--- Nosy | @rhettinger, @terryjreedy Dependencies | bpo-1175686: add "reload" function to IDLE Files | [idle_filerevert.diff](https://bugs.python.org/file14635/idle_filerevert.diff "Uploaded as text/plain at 2009-08-03.02:54:58 by gpolo") *Note: these...
# Bug report ### Bug description: It's possible this is user error or similar, but I'm observing the following when compiling Python3.14. The test `test_ctx_mgr_rollback_if_commit_failed` in `Lib/test/test_sqlite3/test_dbapi.py` seems to fail...
Add the ability for `_pyrepl._module_completer.ModuleCompleter` to suggest attributes, in addition to modules. If the module to import from is not imported yet, ask the user if they want to import...
Continuation of #128214. This PR * Improves performance of bytes creation from a list or tuple * Fixes a free-threading bug * Reduces some duplicated code between list and tuple...
`pymain_run_file_obj`: Check the file type before skipping the source first line. * Issue: gh-142570
Deprecated since Python 3.13; the previous deprecation discussion can be found in #89902 Based on the discussion there, it seems that format was intended to be removed in Python 3.15....