On Apr 21, 2010, at 02:56 PM, Mark Dickinson wrote: >On Wed, Apr 21, 2010 at 2:40 PM, Barry Warsaw <barry at python.org> wrote: >> While talking about Python 2.6 -> 2.7 transitions, the subject of relative and >> absolute imports has come up. PEP 328 states that absolute imports will be >> enabled by default in Python 2.7, however I cannot verify that this has >> actually happened. > >I'm fairly sure it hasn't. I brought this up on python-dev in >February (around Feb 2nd; thread entitled 'Absolute imports in Python >2.x'), but for some reason I can only find the tail end of that thread >on mail.python.org: > >http://mail.python.org/pipermail/python-dev/2010-February/097458.html > >> Python 2.7? If not, given that we're into beta, I don't think we can do it >> now, so I would suggest updating the PEP. > >Agreed. There's also the question of whether deprecation warnings or >-3 warnings should be raised; see > >http://bugs.python.org/issue7844 For the time being, I've removed the sentence from the PEP that says absolute imports will be enabled by default in Python 2.7. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20100421/3e8402bb/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4