PEP 328 update

Dieter Maurer dieter at handshake.de
Wed May 5 17:15:24 EDT 2004


"John Roth" <newsgroups at jhrothjr.com> writes on Mon, 3 May 2004 15:42:16 -0400:
> "Aahz" <aahz at pythoncraft.com> wrote in message
> news:mailman.191.1083525640.25742.python-list at python.org...
> > PEP 328 (``import`` changes) has been updated and is available at
> > http://www.python.org/peps/pep-0328.html
> >
> > Comments on the revised version are welcome.  One area where feedback is
> > particularly desired is on the frequency of relative imports inside
> > packages in current code, both in absolute terms and as a percentage of
> > all imports.
> 
> What worries me about the PEP is the way it breaks backwards
> compatability. I'd much rather see some kind of decorator (possibly
> an !) to indicate an absolute import, and leave the undecorated form
> exactly the way it is, at least until 3.0.

+1

> I also don't particularly see the reason for banning the relative form
> from raw import statements.

+1



More information about the Python-list mailing list