[Zope3-dev] Requiring Python 2.3 (was: zope3 doesn't like the python datetime module?)

Phillip J. Eby pje at telecommunity.com
Mon Sep 22 18:36:26 EDT 2003


At 02:27 AM 9/22/03 +0200, Philipp von Weitershausen wrote:
>Tim Peters wrote:
>>Yup.  Offhand I don't know what causes the problem.  I would *like* to see
>>Zope Corp require Python 2.3 for Zope3.
>
>A strong +1 from me. Not only can we drop certain compatability modules 
>we've been keeping around; we can also safely rely on a few very nice 
>Python 2.3 features, such as

I'm -1 on a change, mainly because my shop is likely to stay 2.2.2 for a 
while.  I've got too many *other* things being changed in the production 
and development environments for the next few months to want to throw a 
Python version upgrade into the mix right now.

That having been said, I realize that it's everybody *else* that's bearing 
the burden of keeping 2.2 compatibility, so I understand if I'm outvoted.


>- booleans

Those are in 2.x maintenance releases, no?


>- the enumerate type

zip(range(len(x)),x) is at least cleaner than it was in 1.5.2...  :)


>- unittest.TestCase being a new-style class (you may be laughing, but with 
>5k+ unit tests in Zope3, this really might make a difference)

Aren't new-style classes *slower* than classics?  I believe this is the 
case for 2.2, anyway.





More information about the Zope3-dev mailing list