[issue20640] Idle: test configHelpSourceEdit

Terry J. Reedy report at bugs.python.org
Sun May 15 01:37:02 EDT 2016


Terry J. Reedy added the comment:

The glitch with the section name was that the second time the name was pulled from the StringVar, it was not stripped.  The possible fixes were to strip after the second get, get once in ok(), strip, and pass to name_ok, or get once in name_ok, strip, and return to ok().  Both the latter two simplify the code a bit.

For help-source, the second gets were alreads stripped as well, so the glitch is not present.  I applied the patch as posted.  If I were to make a change to get once, I would do it in ok rather than in xyz_ok.  Maybe when I combine the files.

----------
assignee:  -> terry.reedy
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 2.7, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20640>
_______________________________________


More information about the Python-bugs-list mailing list