[issue45211] Useful (expensive) information is discarded in getpath.c.

Eric Snow report at bugs.python.org
Wed Sep 15 16:05:49 EDT 2021


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

Setting __file__ on frozen modules is only one example.  I actually need the stdlib dir to be preserved for other uses.

FWIW, I think you're probably right about __file__ on frozen modules.  That said, further discussion about __file__ (or __path__) is probably more suitable in bpo-21736.

----------

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


More information about the Python-bugs-list mailing list