Hello Iap, There's been a bit of discussion about this on the list before. You may find your answer by searching the Mailing List Archives. I don't know the whole story, but it may be as easy as replacing "regex" with "re" in the ts_regex.py file. Eric.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of iap@y2fun.com Sent: Tuesday, August 14, 2001 12:51 AM To: zope@zope.org Subject: [Zope] "DeprecationWarning" breaks the socket connection?
I use export/import to transfer a ZClass product from a Zope-2.3 installation to a Zope-2.4 one. There is "DeprecationWarning" dumped to the console. And the connection between zope and the browser is then broken. Is there any way to suppress the warining? or any workaround?
Thanks for any suggestion.
Iap, Singuan
================= The dumped waring:::::::::: /usr/local/Zope-2.4.0-src/lib/python/ts_regex.py:87: DeprecationWarning: the regex module is deprecate d; please use the re module
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )