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 terry.reedy
Recipients THRlWiTi, lac, markroseman, terry.reedy
Date 2019-01-18.06:35:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547793338.07.0.432206943393.issue25522@roundup.psfhosted.org>
In-reply-to
Content
Also check if the name is not an identifier and therefore could not be imported.  Example:

>>> exec('import abc--bb')
    import abc--bb
              ^
SyntaxError: invalid syntax
History
Date User Action Args
2019-01-18 06:35:39terry.reedysetrecipients: + terry.reedy, markroseman, THRlWiTi, lac
2019-01-18 06:35:38terry.reedysetmessageid: <1547793338.07.0.432206943393.issue25522@roundup.psfhosted.org>
2019-01-18 06:35:38terry.reedylinkissue25522 messages
2019-01-18 06:35:38terry.reedycreate