[Tutor] changes in Python 2.2

Sean 'Shaleh' Perry shalehperry@attbi.com
Tue, 25 Jun 2002 14:04:47 -0700 (PDT)


On 25-Jun-2002 Thomas Rivas wrote:
> Hi folks--
> 
> Trying to learn Python on top of Java and a few other languages has been to 
> say the least a breath of fresh whilespace--if you'll pardon the mixed 
> metaphor; I love the simplicity of Python's orthography -- I hate braces-- 
> and its readeability.
> 
> But now having read A.M Kuchling's excellent "What's New in Python 2.2", a 
> few of the PEPs like 252, 253  that deal with new type of class and those 
> dealing with the new iterators and generators --PEPs 234 and 255, Python is 
> looking to me more and more like --well--,  another language.
> 

python 1.5.2 level python code still works in 2.2.  Many of us still code this
way.  If you feel like playing with generators, or properties, or list
comprehensions, try them.  Perhaps add them to your toolbox.  But you are not
forced to use them.