What are the current plans for PEP 328 (the absolute imports PEP) in Python 2.x?

The PEP says:

"""In Python 2.6, any import statement that results in an
intra-package import will raise DeprecationWarning (this also applies
to from <> import that fails to use the relative import syntax). In
Python 2.7, import will always be an absolute import (and the
__future__ directive will no longer be needed)."""

As far as I can tell, there's no DeprecationWarning in 2.6.

I'm wondering whether this decision was revised at some point (I
wasn't able to find anything by searching the archives), or whether
the DeprecationWarning just got forgotten about.

If the latter, should the DeprecationWarning be introduced in 2.7?

Mark
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to