[Python-Dev] context manager - generator interaction? (original) (raw)

Guido van Rossum guido at python.org
Fri Apr 6 17:09:45 CEST 2007


I've added a paragraph to the PEP, with examples.

On 4/6/07, Barry Warsaw <barry at python.org> wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Apr 6, 2007, at 10:40 AM, Fred L. Drake, Jr. wrote: > On Friday 06 April 2007 10:31, skip at pobox.com wrote: >> PEP 8 anyone? > > New users should be exposed sooner than this; most will never read > any PEP. > The tutorial seems like a good place. This is general good > programming > practice we're talking about here, not style. I'm not so sure that's true about PEP 8. Several organizations that I know of link their own "Python Coding Standards" directly to that PEP, and expect their devs to read it and adhere to it, possibly with a few local exceptions. It might even be worthwhile to give PEP 8 more exposure in the tutorial or on the documentation ToC page. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFGFmAl2YZpQepbvXERAs7XAJ9IAjcpiyeh6x1c6YDdpj8jmQoKRwCgse+a R/I6zIMjvBKmIqfqbrPrtFo= =5x7r -----END PGP SIGNATURE-----

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list