[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE
Peter Funk
pf@artcom-gmbh.de
Wed, 8 Nov 2000 17:06:56 +0100 (MET)
- Previous message: [Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE,1.1 README,1.7,1.8
- Next message: [Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
I was nitpicking:
> > this rather old module still contains string exceptions.
> > Since string exceptions are depreceated in favour of class based
> > exceptions wouldn't it be better to tweak those few lines into
> > class based exceptions now?
> >
> > > Add 1994 Coroutine module by Tim Peters
> > [...]
> > > Killed = 'Coroutine.Killed'
> > > EarlyExit = 'Coroutine.EarlyExit'
Guido van Rossum answered:
> No. This code is of historic interest only. Don't touch it please!
Hmmmm.... I always thought of the Demo directory as a repository for
example code, which may be used to teach Python programming to
beginners. I know, that some pieces are a way out of date.
But I think it would be a worthwile goal to update at least some of
those pieces step by step to reflect current Python coding habits.
The README in Demo says:
"""This directory contains various demonstrations of what you can do with
Python. [...]"""
If you want to turn the Demo directory into a museum of code snippets of
historic interest, at least the README should say so. ;-)
Regards, Peter
--
Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany, Fax:+49 4222950260
office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)
- Previous message: [Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE,1.1 README,1.7,1.8
- Next message: [Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]