Open
Description
Bug report
Bug description:
An example:
$ python3.13
Python 3.13.1 (tags/v3.13.1:0671451779, Dec 4 2024, 07:55:26) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 1;2
2
$ PYTHON_BASIC_REPL=1 python3.13
Python 3.13.1 (tags/v3.13.1:0671451779, Dec 4 2024, 07:55:26) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 1;2
1
2
That's valid for the current main.
A lot of docstrings in the mpmath rely on this feature of old repl. So, this looks as a bug for me.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
bugs and security fixesbugs and security fixesbugs and security fixesbugs and security fixesPython modules in the Lib dirPython modules in the Lib dirRelated to the interactive shellRelated to the interactive shellAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error