Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-111201: fix auto-indent in pyrepl for muliple pound comments#123196

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

Merged
pablogsal merged 3 commits intopython:mainfromwiggin15:main
Sep 6, 2024

Conversation

wiggin15
Copy link
Contributor

@wiggin15wiggin15 commentedAug 21, 2024
edited by bedevere-appbot
Loading

This commit fixes an issue where a line that contains a control flow statement (if, for, ..) but ends with a comment that starts with multiple "#" signs, will not auto-indent the next line.
This happened becauselast_char could be updated to one of the "#" signs, missing the actual last character before the comment.

@pablogsalpablogsalenabled auto-merge (squash)September 3, 2024 12:46
auto-merge was automatically disabledSeptember 3, 2024 12:46

Pull request was closed

@pablogsalpablogsal reopened thisSep 3, 2024
@pablogsalpablogsalenabled auto-merge (squash)September 3, 2024 12:46
@pablogsalpablogsal merged commitd683f49 intopython:mainSep 6, 2024
40 checks passed
@miss-islington-app
Copy link

Thanks@wiggin15 for the PR, and@pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 6, 2024
…pythonGH-123196)(cherry picked from commitd683f49)Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
@bedevere-app
Copy link

GH-123764 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 6, 2024
ambv pushed a commit that referenced this pull requestSep 6, 2024
GH-123196) (GH-123764)(cherry picked from commitd683f49)Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pablogsalpablogsalpablogsal approved these changes

@lysnikolaoulysnikolaouAwaiting requested review from lysnikolaoulysnikolaou is a code owner

@ambvambvAwaiting requested review from ambvambv is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@wiggin15@pablogsal@Yhg1s@ambv

[8]ページ先頭

©2009-2025 Movatter.jp