-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
IDLE: Add docstrings and tests for codecontext #77012
Comments
Add docstrings and tests for codecontext.py. |
After this is merged, we should immediately add 'async' to the list of block openers. With complete tests, we can more confidently cleanup the code a bit, as well as change behavior. The fourth field of info tuples, block keyword, is never used as part of info tuples. (It is used before being added in get_context.) |
Because BLOCKOPENERS is sufficiently distant from the changes for this issue, I will add 'async' now, without tests, in bpo-33564. Some of my comments for this issue are ideas for future changes in codecontext.py. |
Thanks for the good set of tests. |
If you are following up with a new patch that includes code changes, make a new issue. In the opening message, please briefly list the mini-issues fixed so I can refer changes to purposes. Perhaps something like
List the new issue as a dependency of new 'improve code context' bpo-33610 that addresses point 2. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: