iron.nvim icon indicating copy to clipboard operation
iron.nvim copied to clipboard

Fix indentation error in Python 3.13+ built-in REPL

Open Ky9oss opened this issue 6 months ago • 1 comments

In Python 3.13 and later, the built-in REPL automatically adjusts indentation based on contextual information when a new line is entered. This behavior may cause unexpected indentation errors in some cases. The issue was previously reported in issue #424 . Fortunately, the new REPL provides a Paste Mode, which disables automatic indentation and allows code to run smoothly. aa17bcc35688ed652dc773736de74aa0 This implementation runs smoothly on Windows and Linux. The new REPL includes built-in syntax highlighting and more powerful features. With the implementations in PRs #435 and #436 , setting PYTHON_BASIC_REPL is no longer required.

Ky9oss avatar Oct 23 '25 11:10 Ky9oss

Thanks for submitting this and your two other PRs as well. Ill get to looking at them soon!

nickeisenberg avatar Oct 28 '25 13:10 nickeisenberg