<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 06:58, Mark Dickinson <span dir="ltr"><<a href="mailto:dickinsm@gmail.com">dickinsm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Apr 21, 2010 at 2:56 PM, Mark Dickinson <<a href="mailto:dickinsm@gmail.com">dickinsm@gmail.com</a>> wrote:<br>
> On Wed, Apr 21, 2010 at 2:40 PM, Barry Warsaw <<a href="mailto:barry@python.org">barry@python.org</a>> wrote:<br>
>> While talking about Python 2.6 -> 2.7 transitions, the subject of relative and<br>
>> absolute imports has come up. PEP 328 states that absolute imports will be<br>
>> enabled by default in Python 2.7, however I cannot verify that this has<br>
>> actually happened.<br>
><br>
> I'm fairly sure it hasn't. I brought this up on python-dev in<br>
> February (around Feb 2nd; thread entitled 'Absolute imports in Python<br>
> 2.x'), but for some reason I can only find the tail end of that thread<br>
> on <a href="http://mail.python.org" target="_blank">mail.python.org</a>:<br>
><br>
> <a href="http://mail.python.org/pipermail/python-dev/2010-February/097458.html" target="_blank">http://mail.python.org/pipermail/python-dev/2010-February/097458.html</a><br>
<br>
</div>Ah, here's a better link to a different archive of the previous discussion.<br>
<br>
<a href="http://www.mail-archive.com/python-dev@python.org/msg45275.html" target="_blank">http://www.mail-archive.com/python-dev@python.org/msg45275.html</a></blockquote><div><br></div><div>And it looks like it mostly got hijacked by a discussion of how to keep track of long-term issues. =)</div>
<div><br></div><div>As for changing the semantics of this, I would love to see it happen, but as Barry said, into a beta probably means no. So we should at least add a Py3K warning (if there isn't one already) as implicit relative imports cannot be guaranteed correct by 2to3 in the face of ambiguity. Plus the silencing of DeprecationWarnings by default means it won't trigger more noise for users. </div>
</div>