[Python-ideas] Move Demo scripts under Lib
g.brandl at gmx.net
Tue Oct 26 23:37:26 CEST 2010
Am 26.10.2010 20:01, schrieb Brett Cannon:
> On Tue, Oct 26, 2010 at 07:56, Guido van Rossum <guido at python.org> wrote:
>> On Tue, Oct 26, 2010 at 7:33 AM, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote:
>>> On Tue, Oct 26, 2010 at 16:00, Alexander Belopolsky
>>> <alexander.belopolsky at gmail.com> wrote:
>>>> What do you think?
>>> After browsing through the Demo dir a bit, I came away thinking most
>>> of these should just be removed from the repository.
>> +1. Most of them are either quick hacks I once wrote and didn't know
>> where to put (dutree.py, repeat.py come to mind) or in some cases
>> contributed 3rd party code that was looking for a home. I think that
>> all of these ought to live somewhere else and I have no problem with
>> tossing out the entire Demo and Tools directories -- anything that's
>> not needed as part of the build should go. (Though a few things might
>> indeed be moved into the stdlib if they are useful enough.)
> Just to toss in my +1, I have suggested doing this before and received
> push-back in the form of "it isn't hurting anyone". But considering
> how often the idea of trying to fix the directory comes up and never
> occurs, it is obviously wasting people's time keeping the directories
> around. So I say move the stuff needed as part fo the build or dev
> process (e.g., patchcheck is in the Tools directory) and then drop the
> directory. We can give a deadline of some release like Python 3.2b1 or
> b2 to move scripts people care about, and then simply do a mass
> deletion just before cutting a release.
I've started a list of Demos and Tools here:
Please, feel free to complete and argue about fates. I'd like the
corresponding actions taken by 3.2b1.
(One note about the fate "showcase": it might be nice to keep a minimal set
of demos from various topics as a kind of showcase what you can do with a
few lines of Python.)
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-ideas