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 matthew.suozzo
Recipients matthew.suozzo
Date 2021-04-09.20:28:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618000136.49.0.849749645286.issue43798@roundup.psfhosted.org>
In-reply-to
Content
Given the increasing use of long `from typing import foo, bar, ...` import sequences, it's becoming more desirable to address individual components of the import node. Unfortunately, the ast.alias node doesn't contain source location metadata (e.g. lineno, col_offset).

This metadata would be comparatively easy to add, backwards compatible, and would enable more precise diagnostics e.g. lints.
History
Date User Action Args
2021-04-09 20:28:56matthew.suozzosetrecipients: + matthew.suozzo
2021-04-09 20:28:56matthew.suozzosetmessageid: <1618000136.49.0.849749645286.issue43798@roundup.psfhosted.org>
2021-04-09 20:28:56matthew.suozzolinkissue43798 messages
2021-04-09 20:28:56matthew.suozzocreate