This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Saimadhav.Heblikar, Todd.Rovito, python-dev, serhiy.storchaka, taleinat, terry.reedy
Date 2016-05-15.05:37:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463290622.43.0.332126076374.issue20640@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-05-15 05:37:02terry.reedysetrecipients: + terry.reedy, taleinat, Todd.Rovito, python-dev, serhiy.storchaka, Saimadhav.Heblikar
2016-05-15 05:37:02terry.reedysetmessageid: <1463290622.43.0.332126076374.issue20640@psf.upfronthosting.co.za>
2016-05-15 05:37:02terry.reedylinkissue20640 messages
2016-05-15 05:37:01terry.reedycreate