[Zope] can this be a problem ??

Dieter Maurer dieter@handshake.de
Thu, 25 Jul 2002 20:50:20 +0200


Aseem Mohanty writes:
 > 
 > Hi during startup in debug mode I get the following error:
 > 
 > f:\kandinsky\lib\python\ts_regex.py:15: DeprecationWarning: the regex 
 > module is deprecated; please u
 > se the re module
 >   import regex, regsub #, Sync
 > f:\kandinsky/bin/lib\regsub.py:15: DeprecationWarning: the regsub module 
 > is deprecated; please use r
 > e.sub()
 >   DeprecationWarning)
 > 
 > I use LocalFS which uses the ts_regex thingy... so can this create any 
 > problems for me later on??
When the module is finally removed from Python, maybe in Python 2.4.
Until then, you need not to worry.

 > Is there a fix??
Change to code to use "re" instead. I think, someone already did it
and announced it to the mailing list (--> archives)...


Dieter