A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010537.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONE

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Demo/threads Coroutine.py,NONE,1.1 fcmp.py,NONE,1.1 squasher.py,NONEPeter Funk pf@artcom-gmbh.de
Wed, 8 Nov 2000 17:06:56 +0100 (MET)
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)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4