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

Christian Theune ct at gocept.com
Sun Dec 7 09:44:06 EST 2008


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:

/home/ctheune/.buildout/eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/bootstrap.py:85: DeprecationWarning: asObject=False is deprecated and will not be supported after Zope 3.5

The deprecation seems to intend to remove the behaviour of the existing
default parameter by removing the parameter completely. I'd be happy
with that, but I can't write my code in a way to both silences the
deprecation warning and stays future compatible (because of the argument
that will go away).

I wonder whether removing that argument is still a todo. If it is, I'd
be happy to do so now.

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20081207/5ec953b6/attachment.bin 


More information about the Zope-Dev mailing list