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

2011-08-07 Thread Josh Haberman
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

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

2011-08-07 Thread Steven D'Aprano
Josh Haberman wrote: 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

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

2011-08-07 Thread Ryan Kelly
On Sun, 2011-08-07 at 11:11 -0700, Josh Haberman wrote: 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