Skip to content

bpo-43163: Handle unclosed parentheses in codeop #24483

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 3 commits into from
Feb 9, 2021

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 <[email protected]>
@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