This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thautwarm
Recipients Anthony Sottile, docs@python, serhiy.storchaka, srittau, thautwarm
Date 2018-10-17.10:10:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539771034.05.0.788709270274.issue35001@psf.upfronthosting.co.za>
In-reply-to
Content
Firstly, allowing to construct ImportFrom without `level` specified could be the result of referring Python-asdl.

Secondly, in C level, `level` is always an integer.

Last but not the least, when you can access `level` from an ImportFrom AST, it must be an integer, not None.
History
Date User Action Args
2018-10-17 10:10:34thautwarmsetrecipients: + thautwarm, srittau, docs@python, serhiy.storchaka, Anthony Sottile
2018-10-17 10:10:34thautwarmsetmessageid: <1539771034.05.0.788709270274.issue35001@psf.upfronthosting.co.za>
2018-10-17 10:10:34thautwarmlinkissue35001 messages
2018-10-17 10:10:34thautwarmcreate