[Python-Dev] PEP 8 updates/clarifications

Tony Meyer t-meyer at ihug.co.nz
Tue Dec 13 05:49:30 CET 2005


>>     * Python core modules/packages
>>
>>     * Third-party modules/packages
>>
>>     * Local modules/packages
>
> This is already in PEP 8:
[...]
>        1. standard library imports
>        2. related major package imports (i.e. all email package  
> imports
> next)
>        3. application specific imports
>
>        You should put a blank line between each group of imports.

Does this pre-date the email package being included in the standard  
library?  As it is, asterisk 2 and #2 don't appear to match.  If that  
is the case, then perhaps something else should be chosen?

  =Tony.Meyer 


More information about the Python-Dev mailing list