Message333952
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. |
|
Date |
User |
Action |
Args |
2019-01-18 08:26:47 | veky | set | recipients:
+ veky, terry.reedy, markroseman, THRlWiTi, lac |
2019-01-18 08:26:45 | veky | set | messageid: <1547800005.91.0.57613512216.issue25522@roundup.psfhosted.org> |
2019-01-18 08:26:45 | veky | link | issue25522 messages |
2019-01-18 08:26:45 | veky | create | |
|