New submission from Terry J. Reedy <tjre...@udel.edu>:
Pyparse was mostly written in the early 2000s, with the only one code change
since 2007 in 2014. #32874 will add tests for pyparse 'as is' (though with some
docstring and comment changes). This issue will change pyparse code, and
change or add test as needed.
Here are two items to fix. More will be added. Some fixes might be separate
PRs or spun off into separate issues.
def dump: dump this; print does the same, without hardcoding sys.__stdout__,
which might be None.
_synchre: Only used in find_good_parse_start. Missing 'if' (mentioned in
function docstring as 'popular' and 'for' and new things like 'with'. 'async'
and 'await' are not generally popular, but is not any statement beginning a
good parse start?
nosy: csabella, terry.reedy
stage: test needed
title: IDLE: Fix and update and cleanup pyparse
versions: Python 3.6, Python 3.7, Python 3.8
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list