Suggestion for improved ImportError message

Kent Tenney ktenney at gmail.com
Wed Aug 13 21:35:44 EDT 2008


> > Then go for it  You can prepare a patch and ask on python-dev
> > if the developers are interested.

hehe, I'll get a C level patch accepted right after I 
out-swim Mike Phelps.

> >
> > I was never hacking the import things on C level before,
> > but a hint: you have to modify import_from function from
> > Python/ceval.c

Am I correct in thinking that PyPy would mean low level
stuff like this will be Python instead of C? 
That would be nice.

> >
> > My quick attempt:

Quick indeed! 
Very cool.

Thanks,
Kent








More information about the Python-list mailing list