Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-111201: auto-indentation in _pyrepl#119348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Hi@ambv , I see the commit authorship changed for the first commit 😬 |
We squash all commits so this isn't important. As you can see incd516cd the merged commit is attributed to you. |
Thanks for your contribution, Arnon! |
Sorry,@wiggin15 and@ambv, I could not cleanly backport this to
|
(cherry picked from commitcd516cd)Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commitcd516cd)Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
GH-119427 is a backport of this pull request to the3.13 branch. |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Uh oh!
There was an error while loading.Please reload this page.
Auto-indent blocks in new _pyrepl when the user presses after a line that should start a new block. By default, indent by 4 spaces, but keep the user indentation if the user changes it.
Ideas for future improvement (not included in this PR):
if foo: # bar
(currently it will not auto-indent after this line)