[issue10199] Move Demo/turtle under Lib/
Raymond Hettinger
raymond.hettinger at gmail.com
Tue Oct 26 19:48:01 CEST 2010
On Oct 26, 2010, at 10:05 AM, Alexander Belopolsky wrote:
>
> Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
>
> On Tue, Oct 26, 2010 at 12:31 PM, Guido van Rossum
>> Also many people don't expect to find any code in a file named __init__.py (and most of the time I
>> agree with this).
>
> Well, logging, tkinter, and ctypes are clearly counterexamples to this rule.
Those are not in the same league.
Guido's point is that there are some disadvantages to making
a package (i.e. the __init__.py files are an acquired taste), so
we typically only do it when there are significant offsetting advantages.
Just because a successful case for packaging was made for tkinter,
doesn't mean that it is the right thing to do for the turtle module.
As a general rule, *most* of the time a package is not the preferred
solution.
Raymond
More information about the Python-bugs-list
mailing list