Message166708
| Author |
ncoghlan |
| Recipients |
Ronan.Lamy, brett.cannon, docs@python, eric.snow, ncoghlan |
| Date |
2012年07月29日.03:34:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343532900.72.0.413159692026.issue15482@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The specific bug is that, in 3.2, the claimed default (level=0) is not accurate: the default is actually (level=-1), as it was in 2.x. The import statement passes level=0 explicitly (as it does in 2.x when "from __future__ import absolute_import" is in effect).
The docstring in 3.2 is accurate, the prose documentation is incorrect.
In 3.3, the docstring is currently wrong, but the prose documentation is correct. However, it should have a "versionchanged: 3.3" not added, indicating that the default import level has finally been brought into compliance with the documentation. |
|