[Zope] Zope on Python 2.1

Oleg Broytmann Oleg Broytmann <phd@phd.fep.ru>
Fri, 20 Apr 2001 13:48:27 +0400 (MSD)


Hi!

   Thank you. But it was only an information message! I didn't ask for
help :))) I only wanted to let people to know that Zope is running on
Python 2.1.
   I won't change Zope myself for Python 2.1 - Python 2.1 has many
interesting capabilities, and DC people already announced that they will
produce special version for python 2.1 (probably Zope 2.4).
   I cannot speak for them, but I think the most important things are
Unicode and function attributes. Function attributes allow one to mark a
function with user-defined attributes. Zope can use this in a number of
ways. Mark a function as "publishable" (instead of abusing docstrings);
assign roles to the function... etc.

On Fri, 20 Apr 2001, Peter Bengtsson wrote:
> Take the risk of
> search-replace all occurances of "regex" with "re".
> "regex" is a pretty "odd" word so it's unlikely to find it inside other
> words.
> Let us know if that worked.
>
> > -----Message d'origine-----
> > De : zope-admin@zope.org [mailto:zope-admin@zope.org]De la part de Oleg
> > Broytmann
> > Envoye : vendredi 20 avril 2001 11:14
> > A : Zope Mailing List
> > Objet : [Zope] Zope on Python 2.1
> >
> >
> > Hello!
> >
> >    I did a quick test on how Zope would run on Python 2.1. I didn't do
> > extensive tests, but at first glance it works without a problem. I've got
> > some deprecation warnings:
> >
> > /usr/local/Zope/ZServer/medusa/asynchat.py:293:
> > DeprecationWarning: the regex module is deprecated; please use
> > the re module
> >   import regex
> > /usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the
> > regsub module is deprecated; please use re.sub()
> >   DeprecationWarning)
> > /usr/local/Zope/ZServer/medusa/asynchat.py:293:
> > DeprecationWarning: the regex module is deprecated; please use
> > the re module
> >   import regex
> > /usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the
> > regsub module is deprecated; please use re.sub()
> >   DeprecationWarning)

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.