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

Benjamin Peterson benjamin at python.org
Tue Oct 26 21:18:22 CEST 2010


2010/10/26 Alexander Belopolsky <alexander.belopolsky at gmail.com>:
> On Tue, Oct 26, 2010 at 1:39 PM, Raymond Hettinger
> <raymond.hettinger at gmail.com> wrote:
> ..
>> Packaging is not always wrong.  Maybe it was the right thing to do for
>> unittest, maybe not.
>
> This is an example that I personally find ill-justified.  Particularly
> annoying is the fact that opening __init__.py gives you a list of
> relative imports and sends you to the next file for everything else.
> Having both main.py and __main__.py seems redundant.    What were the
> benefits  that justified unittest.py split?

Mostly it was huge.



-- 
Regards,
Benjamin


More information about the Python-Dev mailing list