Re: [Python-Dev] PEP 302 support for pydoc, runpy, etc.

2006-04-14 Thread Nick Coghlan
Phillip J. Eby wrote: > Anybody have any thoughts, comments, or questions? This all sounds good to me. Will it also eliminate the current quirk in the runpy emulation where it searches the metapath in a slightly different order than the actual import machinery does? (From what you wrote, I belie

[Python-Dev] PEP 302 support for pydoc, runpy, etc.

2006-04-13 Thread Phillip J. Eby
Okay, so I've spent a bit more time thinking this through, and I think I have a plan that can work, and deals with all the weird little corner issues, including overlapping code with pkg_resources (a new module that's to-be-added by setuptools). My basic idea is as follows: 1. Move the support