Message191582
| Author |
pitrou |
| Recipients |
benjamin.peterson, brett.cannon, pitrou |
| Date |
2013年06月21日.14:02:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1454941013.104749188.1371823335809.JavaMail.root@zimbra10-e2.priv.proxad.net> |
| In-reply-to |
<1371822949.07.0.28180155675.issue18275@psf.upfronthosting.co.za> |
| Content |
> 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. |
|