Tom Middleton <busfa...@gmail.com> added the comment:

While I agree that it shouldn't be imposed on changing previous code, changing 
the documentation isn't changing the previous code it is encouraging future 
code. I think that the documentation should have a caveat. I'm seeing a lot of 
new code using tkinter with glob import which is obviously from the 
documentation as it suggests doing so. I think that the glob import practice 
should be overall discouraged. I think adding a disclaimer in the documentation 
at the reference to `from tkinter import *` would be sufficient. A reference to 
PEP8 would be good. I'd imagine that most people look up docs and are not as 
familiar with PEP.
Why can't something like that be added to the documentation?

----------
nosy: +busfault

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32830>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to