[Python-Dev] Another approach for the import mechanism (original) (raw)

Moore, Paul Paul.Moore@atosorigin.com
Fri, 6 Dec 2002 10:56:02 -0000


From: Martin v. L=F6wis [mailto:martin@v.loewis.de]

What do you mean with "was originally", and what do you mean with "would break"? [...] Looks like I did misunderstand :-(

I recommend you try the patch, to see how it works in the real world.

At the moment the patch crashes immediately on Windows. I've let Just know, and I'll try the next version when it arrives...

Paul.

PS If Just's patch doesn't stabilise in time for 2.3, and we go back to Jim Ahlstrom's patch, I'd support Just writing a PEP to cover his import hooks mechanism, for future inclusion. (Actually, I think that Just's mechanism has sufficient extra functionality over PEP 273, that it deserves a PEP even now. But if Just takes time out to write a PEP, I suspect that makes it even less likely we'll get working code in time...)