GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — gh-122237: Fix REPL wrong auto-indentation with comments by HarryLHW · Pull Request #122238 · python/cpython Conversation
|
|
At this point, it will never auto-indent if there is only a comment without other code in the last line. This will produce the following situation, and I am trying to fix that if possible. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
For what it’s worth, I’m not sure I would consider this a bug. Presumably, the user had to un-indent the comment line deliberately, so I would expect the following line to also be un-indented, if that makes sense. Are there other situations where this behavior leads to incorrect indentation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This is fixed already. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.