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:
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
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
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
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' .