[Python-Dev] status of absolute_import w/ python 2.7 (original) (raw)

Éric Araujo merwok at netwok.org
Wed Jul 13 16:34:54 CEST 2011


Le 13/07/2011 06:40, Nick Coghlan a écrit :

Now, the what's new for 2.7 doesn't actually say we made that change and I can't find any evidence for it in NEWS either, so I think the bug is actually in the future module (and docs: http://docs.python.org/library/future).

I seemed to recall the change was done in 2.6, but I found only that:

C API: the PyImportImport() and PyImportImportModule() functions now default to absolute imports, not relative imports. This will affect C extensions that import other modules.

http://docs.python.org/dev/whatsnew/2.6#porting-to-python-2-6

Regards



More information about the Python-Dev mailing list