[Python-Dev] Import hooks falling back on built-in import machinery?

Georg Brandl g.brandl at gmx.net
Thu May 25 21:07:49 CEST 2006

Guido van Rossum wrote:
> Good catch. I think this would save a certain number of unnecessary
> stat() calls.
> But it does change semantics, so we can't fix this in 2.4. In 2.5, we
> should warn hook authors that this might affect them.
> The PEP ought to be updated to clarify this.

Okay. The patch fixing this is at #921466. I'll see what I can do about
the PEP.


More information about the Python-Dev mailing list