[issue35001] ImportFrom level cannot be optional

Serhiy Storchaka report at bugs.python.org
Wed Oct 17 05:58:10 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The level argument of ast.ImportFrom is optional. If it is not specified or None is passes, the corresponding attribute is set to the default value 0.

Type hints are not used in the stdlib. If this is a bug in mypy, this is not the proper tracker for reporting it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35001>
_______________________________________


More information about the Python-bugs-list mailing list