cpython
cpython copied to clipboard
The Python programming language
# Bug report ### Bug description: When editing the last line in a function in the new REPL, hitting Enter doesn't end the block if the last line has indentation...
This issue will track all the different steps to bootstrap a new Python REPL with many new features. The target of this issue is that we can reach a point...
`_PyWeakref_ClearRef` was previously [exposed](https://github.com/python/cpython/blob/656491783d2be0fe36feef5085a2406a05abbd66/Include/cpython/weakrefobject.h#L37) in the public C-API. In 3.13, it was moved to `pycore_weakref.h` and the symbol is not exposed (i.e., it's `extern void` instead of `PyAPI_FUNC(void)`. `_PyWeakref_ClearRef` is...
# Bug report This issue adds tests for `NoDefault` and attribute assignment: https://github.com/python/cpython/issues/118895 But, we never had tests for the same thing of `NotImplemented`. I will add a test case...
# Feature or enhancement ### Proposal: *Note: PR's for this should tackle a couple modules at a time.* We should avoid code like this in private clinic functions which aren't...
BPO | [44887](https://bugs.python.org/issue44887) --- | :--- Nosy | @vstinner, @ambv, @Fidget-Spinner, @akulakov *Note: these values reflect the state of the issue at the time it was migrated and might not...
# Feature or enhancement ### Proposal: Sometimes, when there is a function that can operate both on IPv4 and IPv6 addresses, it is convenient to pass it the corresponding type...
We've discovered that if you manually type out a condition that evaluates to `False` in the new REPL, `False` is printed as the result, as expected... ```pycon >>> (3, 13,...
# Bug report ### Bug description: Hi Python devs, Trying out the new 3.13 REPL(love the improvement!) I faced a behaviour bump on my setup: I configure readline to be...
# Bug report ### Bug description: I compiled Python 3.13 (commit d86b494117, the current tip of the 3.13 branch), and installed it into ~/opt/python313. When I run `python3.13` with no...