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.17:42:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626111742.98.0.743997886724.issue43299@roundup.psfhosted.org>
In-reply-to
Content
Upon further pondering, I'm not sure PyWin is doing the right thing here. I believe it's best to first file it with PyWin and find out what it is trying to do and why.

Pyclbr behavior sort of makes sense to me -- pyclbr goal is to parse and browse the source of a module, but the __main__ module is either the current script, in which case it can be imported under another name (and then it would have the __spec__), or it's an interactive session, which you probably don't need to browse (maybe?).
History
Date User Action Args
2021-07-12 17:42:23andrei.avksetrecipients: + andrei.avk, kxrob
2021-07-12 17:42:22andrei.avksetmessageid: <1626111742.98.0.743997886724.issue43299@roundup.psfhosted.org>
2021-07-12 17:42:22andrei.avklinkissue43299 messages
2021-07-12 17:42:22andrei.avkcreate