[Import-SIG] PEP 402 implementation

Eric Snow ericsnowcurrently at gmail.com
Wed Jul 20 22:02:47 CEST 2011

Last night I had a chance to get started on an implementation for the
PEP.  I'm taking the importlib route.  Before I do much more I wanted
to check on a couple of things with this group.

First of all, I don't want to go to much effort here if others are
already focused on the implementation, particularly since I'm sure all
of you would do a better job than I would.  I already feel like I have
butt in on the work Barry, Eric, and crew were getting started. <wink>
 If someone is already going to take care of the implementation please
let me know.

In case you haven't noticed, Python is my first foray into an
open-source project, and I've only been involved since the pycon
sprints (been using Python exclusively for 5 years though).   So, I am
still feeling out the mechanics of how people cooperate on this sort
of stuff.

Secondly, regardless of importlib or import.c or whatever, the sys
module will need to have "virtual_packages" added right?  I stuck that
code in import.c next to where sys.meta_path and others get
initialized [1].  Is that the right place to do it?  Should it go in
sysmodule.c instead?



[1] http://hg.python.org/cpython/file/default/Python/import.c#l204

More information about the Import-SIG mailing list