[issue21736] Add __file__ attribute to frozen modules

Eric Snow report at bugs.python.org
Thu Oct 28 15:08:33 EDT 2021


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

I've opened the following issues related to frozen stdlib modules:

https://bugs.python.org/issue45652
https://bugs.python.org/issue45658
https://bugs.python.org/issue45659

Again, I'm leaving this issue open to deal with the broader question of frozen modules outside the stdlib, where the solution isn't so obvious.  The question of targeting the FileLoader (or SourceLoader) ABC should probably be handled separately.  (Note that bpo-45020 has some related discussion.)

----------
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21736>
_______________________________________


More information about the Python-bugs-list mailing list