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

Guido van Rossum report at bugs.python.org
Wed Sep 15 13:55:32 EDT 2021


Guido van Rossum <guido at python.org> added the comment:

Honestly I find it debatable whether we're doing anyone a favor by publishing the __file__ of the corresponding stdlib file for frozen modules. There will be situations where this points to the wrong file, and editing the file will not have an effect (unless you rebuild). I'd rather tell people to use -X frozen_modules=off until they can fix their dependency on the __file__ of frozen modules.

----------
nosy: +gvanrossum

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


More information about the Python-bugs-list mailing list