Message355014
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). |
|
Date |
User |
Action |
Args |
2019-10-20 19:59:51 | rhettinger | set | recipients:
+ rhettinger, ju-sh |
2019-10-20 19:59:51 | rhettinger | set | messageid: <1571601591.56.0.966677916069.issue38539@roundup.psfhosted.org> |
2019-10-20 19:59:51 | rhettinger | link | issue38539 messages |
2019-10-20 19:59:51 | rhettinger | create | |
|