[issue21335] Update importlib.__init__ to reset _frozen_importlib's loader to SourceFileLoader

2015-09-29 Thread Eric Snow
Eric Snow added the comment: The underlying issue extends to all frozen modules. I've opened #25268 to consider how we might address it. -- nosy: +eric.snow ___ Python tracker

[issue21335] Update importlib.__init__ to reset _frozen_importlib's loader to SourceFileLoader

2014-05-02 Thread Brett Cannon
Brett Cannon added the comment: Even with setting SourceFileLoader, you still don't get file lines back. Why? Because all of the constructed objects in _frozen_importlib have their co_filename set before the back-patching in importlib.__init__ and so when the traceback module tries to do its

[issue21335] Update importlib.__init__ to reset _frozen_importlib's loader to SourceFileLoader

2014-04-23 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- title: Update importlib.__init__ to reset _frozen_imnportlib's loader to SourceFileLoader - Update importlib.__init__ to reset _frozen_importlib's loader to SourceFileLoader ___ Python tracker