Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
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). ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38539> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com