◐ Shell
clean mode source ↗

Message 401900 - Python tracker

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.