[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file
Terry J. Reedy
report at bugs.python.org
Fri Dec 19 23:06:11 CET 2014
Terry J. Reedy added the comment:
I read Nick's post and I would like PEP8 to continue to discourage imports at class scope unless there is actually a use case. I discovered yesterday that idlelib.ColorDelegator has several imports at the top of the module and more as the top of the class (of the same name). I cannot think of any good reason for the split.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23061>
_______________________________________
More information about the Python-bugs-list
mailing list