[docs] [issue15292] import hook behavior documentation improvement

Brett Cannon report at bugs.python.org
Sun Jul 8 15:40:59 CEST 2012

Brett Cannon <brett at python.org> added the comment:

Everything Nick said is right: PyPy did it properly according to the spec and CPython 2.7 got it wrong. Unfortunately fixing this now would break code and so it will simply have to stay a Python 2.7 quirk with Python 3.3 and later doing it correctly.

So documenting the screw-up would be good so that people know that the solution they use in Python 2.7 won't work in Python 3.3 and later.


Python tracker <report at bugs.python.org>

More information about the docs mailing list