Skip to content

bpo-43163: Handle unclosed parentheses in codeop#24483

Merged
pablogsal merged 3 commits intopython:masterfrom
pablogsal:bpo-43163
Feb 9, 2021
Merged

bpo-43163: Handle unclosed parentheses in codeop#24483
pablogsal merged 3 commits intopython:masterfrom
pablogsal:bpo-43163

Conversation

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Feb 8, 2021

@pablogsal
Copy link
Member Author

@terryjreedy please, feel free to suggest any new tests that you think it would be good to cover regarding this issue.

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.

I verified that this works from IDLE. Looks good but I would like the suggested change.

@bedevere-bot
Copy link

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedy
Copy link
Member

I though about additional tests and tried some things, which all passed, but I don't think any of them would be useful additions. For further testing, I might locally install Hypotheses and the associated random code generator and them run compile_command with valid, incomplete (snipped valid multiline code), and maybe invalid samples.

@pablogsal pablogsal deleted the bpo-43163 branch February 9, 2021 22:18
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
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.

4 participants