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

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Oct 26 20:11:09 CEST 2010


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?


More information about the Python-Dev mailing list