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 rhettinger
Recipients ju-sh, rhettinger
Date 2019-10-20.19:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571601591.56.0.966677916069.issue38539@roundup.psfhosted.org>
In-reply-to
Content
The Tools/demo modules are sort of a quaint museum to the past.  That said, most of the code reads fine even by today's standards.

Go ahead with as PR to change "while 1" to "while True".

The star imports should remain (they are the norm for Tkinter) code.

Let's don't reformat the if/action pairs on the same line.  That reflects the author's way of thinking about the problem.  Though it may offend your stylistic sensibilities, it is valid Python and readable enough.

BTW, the scripts are almost never "guide people new to the language".  They are typically only found by experienced programmers exploring the tree of code (like little easter eggs).
History
Date User Action Args
2019-10-20 19:59:51rhettingersetrecipients: + rhettinger, ju-sh
2019-10-20 19:59:51rhettingersetmessageid: <1571601591.56.0.966677916069.issue38539@roundup.psfhosted.org>
2019-10-20 19:59:51rhettingerlinkissue38539 messages
2019-10-20 19:59:51rhettingercreate