merge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

This commit is contained in:
Senthil Kumaran 2011-08-06 12:55:06 +08:00
commit ef94203439

View file

@ -782,8 +782,8 @@ Some smaller changes made to the core Python language are:
(Contributed by Fredrik Johansson and Victor Stinner; :issue:`3439`.)
* The :keyword:`import` statement will no longer try a relative import
if an absolute import (e.g. ``from .os import sep``) fails. This
* The :keyword:`import` statement will no longer try an absolute import
if a relative import (e.g. ``from .os import sep``) fails. This
fixes a bug, but could possibly break certain :keyword:`import`
statements that were only working by accident. (Fixed by Meador Inge;
:issue:`7902`.)