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 veky
Recipients THRlWiTi, lac, markroseman, terry.reedy, veky
Date 2019-01-18.08:26:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547800005.91.0.57613512216.issue25522@roundup.psfhosted.org>
In-reply-to
Content
Many beginners don't write files in order to import them. For them, these name-checking is simply adding noise. If you want to do something in this area, I think a much more useful (and difficult) course of action would be to check on the opposite end. If an AttributeError "module blah has no attribute foo" is raised, then check whether a file in the current directory (or simply the current file) is named blah, and there is also a stdlib blah that has fool.
History
Date User Action Args
2019-01-18 08:26:47vekysetrecipients: + veky, terry.reedy, markroseman, THRlWiTi, lac
2019-01-18 08:26:45vekysetmessageid: <1547800005.91.0.57613512216.issue25522@roundup.psfhosted.org>
2019-01-18 08:26:45vekylinkissue25522 messages
2019-01-18 08:26:45vekycreate