On Oct 26, 2010, at 10:05 AM, Alexander Belopolsky wrote: > > Alexander Belopolsky <belopol...@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 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com