cpython icon indicating copy to clipboard operation
cpython copied to clipboard

The Python programming language

Results 1387 cpython issues
Sort by recently updated
recently updated
newest added

# Bug report ### Bug description: To reproduce, copy paste this into the Python REPL: ```python from dataclasses import dataclass @dataclass class Point: x: float y: float ``` You'll see:...

type-bug

* Issue: gh-117765 ---- 📚 Documentation preview 📚: https://cpython-previews--121755.org.readthedocs.build/

awaiting review

# Bug report When using `logging.captureWarnings(True)`, the information about object allocation that you *should get* with `-X tracemalloc` gets lost. It appears to be a discrepancy between Python and C...

type-bug
stdlib

* Issue: gh-82151

docs
awaiting change review
skip news

# Documentation The docs for [`patch.dict`](https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch.dict) method is: `Patch a dictionary, or dictionary like object, and restore the dictionary to its original state after the test.` The phrase "to its...

docs

# Bug report ### Bug description: IPython and ptpython use ALT+Enter to submit multiline input, regardless of the position of the cursor, but the new REPL does not. Looks like...

type-bug
topic-repl

# Feature or enhancement ### Proposal: At a recent meeting of OpenSSF's Memory Safety SIG, I became aware of the [C/C++ hardening guide](https://github.com/ossf/wg-best-practices-os-developers/blob/main/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C%2B%2B.md) they are putting together. At a high-level,...

type-feature
performance
type-security
build

#112301: This is the first version of compiler warning check tooling integrated into the Ubuntu build ant test GitHub action job. The tool parses compiler output and checks against an...

awaiting review

# Bug report ### Bug description: *I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which* If a parsed...

type-bug
topic-email

# Bug report ### Bug description: Reproducer: Remove all suppressions from https://github.com/python/cpython/blob/main/Tools/tsan/suppressions_free_threading.txt Build and Run with TSAN https://github.com/python/cpython/issues/117657 We get races like ``` SUMMARY: ThreadSanitizer: data race /home/ken/Documents/GitHub/cpython/Python/pystate.c:1665:32 in PyThreadState_Clear...

type-bug
topic-free-threading