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 andrei.avk
Recipients andrei.avk, kxrob
Date 2021-07-12.05:22:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626067347.85.0.228689123175.issue43299@roundup.psfhosted.org>
In-reply-to
Content
Robert: thanks for the response..

I looked a bit more into it and I'm starting to think it's a PyWin issue, not pyclbr.

It seems to me that PyWin is calling pyclbr readmodule_ex with module='__main__', and pyclbr is supposed to find it on the filesystem. The problem is, '__main__' is the special name for current script or interactive session. It doesn't give pyclbr any info on where the script might be, if it exists (maybe it's pywin's interactive window?).

So, unless someone more familiar with pyclbr steps in and gives us a bit more insight, I think the best course may be to report this to PyWin. They might also know more about pyclbr, perhaps they've run into similar issues with it before!
History
Date User Action Args
2021-07-12 05:22:27andrei.avksetrecipients: + andrei.avk, kxrob
2021-07-12 05:22:27andrei.avksetmessageid: <1626067347.85.0.228689123175.issue43299@roundup.psfhosted.org>
2021-07-12 05:22:27andrei.avklinkissue43299 messages
2021-07-12 05:22:27andrei.avkcreate