import hooks (PEP 302) broken in Python >=2.5?

Josh Haberman jhaberman at
Sun Aug 7 14:11:37 EDT 2011

When reading about import hooks, I came across a blog entry comment
that says:

  One additional thing to note about ihooks is that it's
  somewhat seriously broken on Python 2.5 and newer and there
  seems to be little or no interest in fixing it. It's
  probably worth *always* avoiding when writing new code.


Does anyone know what this is referring to?  Should I be wary of
relying on import hooks?


More information about the Python-list mailing list