Antoine Pitrou added the comment: > http://bugs.python.org/issue17621 is about trying to finally add a > lazy mixin to importlib so people stop asking for it. I have a > version already written externally at > https://code.google.com/p/importers/source/browse/importers/lazy.py. > Part of the trick of making it work is having a way to drop the lazy > mixin from the loader MRO for all future uses (which is important > for reloads) is to assign __loader__ to super(Mixin, self).
That sounds like a better job for a proxy rather than a mixin. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18275> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com