[Zope-dev] Deprecation warning in zope.app.appsetup.bootstrap

2008-12-07 Thread Christian Theune
Hi, the utility setup code in zope.app.appsetup.bootstrap contains a somewhat annoying deprecation warning which said that the default option would go away in 3.5. This package moved beyond 3.5 and still has the code in it. It throws the folloing warning:

[Zope-dev] Deprecation Warning

2008-07-28 Thread vyshakh krishnan
Hi Everyone, The deprecation warning while testing Product module is /home/zope/ztrunk25/lib/python/OFS/SimpleItem.py:248: DeprecationWarning: raising a string exception is deprecated raise error_type, v, tb Is it enough to define a new sub class of Exception which accept error_type,v as

[Zope-dev] Deprecation Warning

2008-07-23 Thread vyshakh krishnan
Hi everybody, While porting Zope2 on Python2.5, I am now trying to remove the deprecation warnings.Most of them are due to the raising of string exceptions. One of such warnings in the module Products is /home/zope/ztrunk25/lib/python/OFS/SimpleItem.py:248: DeprecationWarning: raising

Re: [Zope-dev] Deprecation Warning

2008-07-23 Thread Lennart Regebro
On Wed, Jul 23, 2008 at 14:03, vyshakh krishnan [EMAIL PROTECTED] wrote: Hi everybody, While porting Zope2 on Python2.5, I am now trying to remove the deprecation warnings.Most of them are due to the raising of string exceptions. One of such warnings in the module Products is

[Zope-dev] Deprecation Warning

2008-07-23 Thread vyshakh krishnan
Hello everyone, Since the deprecation warning is due to the conversion of error_type into string by 'raise_standardErrorMessage' method, is it still necessary to use new user defined Exception class or do we want to modify the function 'raise_standardErrorMessage' .