[Zope-Coders] Re: CVS: Zope/lib/python/zLOG - component.xml:1.9 datatypes.py:1.12

Godefroid Chapelle gotcha at swing.be
Fri Oct 31 06:40:24 EST 2003


Chris McDonough wrote:

> Update of /cvs-repository/Zope/lib/python/zLOG
> In directory cvs.zope.org:/tmp/cvs-serv20354/lib/python/zLOG
> 
> Modified Files:
> 	component.xml datatypes.py 
> Log Message:
> Add <warnfilter> section, which allows you to configure Python warning filters in zope.conf.  Useful for suppressing the USELESS DeprecationWarnings that emanate from TALGenerator wrt i18n.
> 
> 
Can you explain why they are useless ?

At first, warnings were also emitted by 2.7. But we decided to turn them 
off in order to let users use ante 2.7 code without hassle...
and to give some time to developers to convert the code.

OTOH, Jim and I decided to emit the warnings in 2.8 as we want to be 
able to turn off the old i18n:attributes syntax (space separated) in 2.9.

Anyway, I am happy you added code that allows to hide those warnings for 
people that do not want to see them.
-- 
Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901

TVA 467 093 008
RC Niv 49849





More information about the Zope-Coders mailing list