Andrei Kulakov <andrei....@gmail.com> added the comment:

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?).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to