Re: [Distutils] indexing sys.meta_path hook?

2012-09-28 Thread PJ Eby
On Fri, Sep 28, 2012 at 6:27 PM, Daniel Holth wrote: > Is the new python 3.3 optimization documented anywhere? I am having trouble > finding it. Well, it's mentioned several places in http://docs.python.org/dev/whatsnew/3.3.html, albeit rather obscurely. Most important mention is probably this:

Re: [Distutils] indexing sys.meta_path hook?

2012-09-28 Thread Daniel Holth
Is the new python 3.3 optimization documented anywhere? I am having trouble finding it. On Sep 28, 2012 6:23 PM, "PJ Eby" wrote: > On Fri, Sep 28, 2012 at 4:14 PM, Daniel Holth wrote: > > Has anyone bothered to write a meta path hook that checks all the > > top_level.txt on a sys.path full of eg

Re: [Distutils] indexing sys.meta_path hook?

2012-09-28 Thread PJ Eby
On Fri, Sep 28, 2012 at 4:14 PM, Daniel Holth wrote: > Has anyone bothered to write a meta path hook that checks all the > top_level.txt on a sys.path full of eggs, and uses > imp.load_module(name, short list of paths) to find the module instead > of the default load_module(name, full sys.path)?

[Distutils] indexing sys.meta_path hook?

2012-09-28 Thread Daniel Holth
Has anyone bothered to write a meta path hook that checks all the top_level.txt on a sys.path full of eggs, and uses imp.load_module(name, short list of paths) to find the module instead of the default load_module(name, full sys.path)? ___ Distutils-SIG m