-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed as duplicate of#129076
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
>>> def foo(x):
>>> y = x + 1
>>> z = 2 * y
The auto-indent feature in python 3.13.x shell breaks copy-paste of code on Windows.
Expected behavior: Copying properly formatted python code and pasting it into the shell works
Observed behavior: The auto-indenter adds additional indentation to every single line, effectively doubling the desired indentation, thus breaking the code
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error