Skip to content

bpo-32989: IDLE - fix bad editor call of pyparse method #5968

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 21, 2020

Conversation

csabella
Copy link
Contributor

@csabella csabella commented Mar 3, 2018

Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

https://bugs.python.org/issue32989

@csabella csabella requested a review from terryjreedy as a code owner March 3, 2018 23:39
@terryjreedy terryjreedy changed the title bpo-32989: IDLE: Correct call from editor to pyparse bpo-32989: IDLE - fix pyparse.find_good_parse_start None bug and bad call Mar 4, 2018
@terryjreedy terryjreedy changed the title bpo-32989: IDLE - fix pyparse.find_good_parse_start None bug and bad call bpo-32989: IDLE - fix pyparse.find_good_parse_start and bad editor call Mar 4, 2018
@terryjreedy terryjreedy changed the title bpo-32989: IDLE - fix pyparse.find_good_parse_start and bad editor call bpo-35610: IDLE - fix pyparse.find_good_parse_start and bad editor call Dec 29, 2018
@terryjreedy terryjreedy changed the title bpo-35610: IDLE - fix pyparse.find_good_parse_start and bad editor call bpo-32989: IDLE - fix pyparse.find_good_parse_start and bad editor call Dec 29, 2018
@vstinner
Copy link
Member

I removed the " needs backport to 3.6" label, the 3.6 branch no long accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches

@terryjreedy terryjreedy changed the title bpo-32989: IDLE - fix pyparse.find_good_parse_start and bad editor call bpo-32989: IDLE - fix bad editor call of pyparse method Jan 15, 2020
@terryjreedy terryjreedy self-assigned this Jan 15, 2020
@terryjreedy
Copy link
Member

terryjreedy commented Jan 15, 2020

I have reviewed and tweaked everything except the new indent tests, including the proposed commit message. Correct calls to find...start should work since they presumably did before the parameter was removed, but I want to check a bit more.

Edit: After merging master, I discovered that the call change was already done on another issue. The there should not be any behavior change with remaining patch.

Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge when CI is done.

@terryjreedy terryjreedy merged commit ec64640 into python:master Jan 21, 2020
@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 21, 2020
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit ec64640)

Co-authored-by: Cheryl Sabella <[email protected]>
@bedevere-bot
Copy link

GH-18096 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 21, 2020
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit ec64640)

Co-authored-by: Cheryl Sabella <[email protected]>
@bedevere-bot
Copy link

GH-18097 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Jan 21, 2020
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit ec64640)

Co-authored-by: Cheryl Sabella <[email protected]>
miss-islington added a commit that referenced this pull request Jan 21, 2020
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit ec64640)

Co-authored-by: Cheryl Sabella <[email protected]>
@csabella csabella deleted the pyparse branch January 21, 2020 10:39
@csabella
Copy link
Contributor Author

Thanks, Terry!

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants