[Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

Brett Cannon brett at python.org
Tue Nov 2 23:43:29 CET 2010


On Tue, Nov 2, 2010 at 15:33, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Tue, Nov 2, 2010 at 12:35 PM, Brett Cannon <brett at python.org> wrote:
>> So basically it seems like we have learned a lesson: we prefer to have
>> our code structured in files that match the public API. I think that
>> is a legitimate design rule for the stdlib to follow from now on, but
>> in the case of unittest it's too late to change it back (and it's a
>> minor price to pay to learn this lesson and to have Michael
>> maintaining unittest like he has been, plus we could consider using
>> the new structure so that the public API matches the file structure
>> when the need arises).
>
> Something to note in PEP 8, perhaps?

If everyone agrees with making this policy, then yes.

-Brett

>
> Cheers,
> Nick.
>
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
>


More information about the Python-Dev mailing list