Done.

Index: pep-0008.txt
===================================================================
--- pep-0008.txt        (revision 42952)
+++ pep-0008.txt        (working copy)
@@ -156,8 +156,9 @@

     - Relative imports for intra-package imports are highly discouraged.
       Always use the absolute package path for all imports.
-      (However, once PEP 328 [7] is fully implemented, its style of
-      explicit relative imports will be recommended.)
+      Even now that PEP 328 [7] is fully implemented in Python 2.5,
+      its style of explicit relative imports is actively discouraged;
+      absolute imports are more portable and usually more readable.

     - When importing a class from a class-containing module, it's usually okay
       to spell this

On 3/15/06, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> On Wed, 2006-03-15 at 17:33 -0500, Jeremy Hylton wrote:
> > On 3/15/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> > > Well, absolute imports without the future statement will not use the
> > > 5th argument, so they won't break, right? That's what MAL also says.
> > > Someone please fix this.
> >
> > I'd much rather see us change imports to use absolute imports than to
> > use relative imports in count-the-dots fashion.  Could we add that to
> > PEP 8?
>
> +1
> -Barry
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iQCVAwUARBiYFXEjvBPtnXfVAQJPzQP/aOcipFhTU+Z6SYB7aeIwOIl+TcUObHzo
> xdp3ufscF1R4emX7vgw/BChJfCwt6vcOzKQsyjVgAFYnDuh6XdRdtL3gjex/Z2L0
> OLBKMhOjd3OScyhypefruhXJJ8o1SvQn4eQeGacIsYaqbohs3OEEqv3RW5o1h3Qo
> azV3CQn+2Fs=
> =qcFp
> -----END PGP SIGNATURE-----
>
>
>


--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to