STINNER Victor <vstin...@redhat.com> added the comment:

"from typing import *"

I like to run pyflakes time to time on the Python code base. Please avoid 
"import *" since it prevents pyflakes (and other code analyzers) to find bugs. 
Example:

$ pyflakes Tools/unicode/makeunicodedata.py
Tools/unicode/makeunicodedata.py:35: 'from typing import *' used; unable to 
detect undefined names
Tools/unicode/makeunicodedata.py:921: 'Iterator' may be undefined, or defined 
from star imports: typing
Tools/unicode/makeunicodedata.py:921: 'List' may be undefined, or defined from 
star imports: typing
Tools/unicode/makeunicodedata.py:921: 'Iterator' may be undefined, or defined 
from star imports: typing
...

----------

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

Reply via email to