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?? Is there a fix?? AM -- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================
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
participants (2)
-
Aseem Mohanty -
Dieter Maurer