[issue32831] IDLE: Add docstrings and tests for codecontext

Terry J. Reedy report at bugs.python.org
Thu May 17 17:13:09 EDT 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

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.)

----------
versions: +Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32831>
_______________________________________


More information about the Python-bugs-list mailing list