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

Chris McDonough chrism at plope.com
Fri Oct 31 11:42:37 EST 2003


On Fri, 2003-10-31 at 06:40, Godefroid Chapelle wrote:
> Can you explain why they are useless ?

I can explain why they're useless to me: I didn't write the software
that generates them and I'm not going to fix it.  But, nonetheless I'm
using it, and even though I really don't care, a warning is emanated for
every occurrence of a "malformed" i18n attribute value.  This happens on
just about every page rendering out of this particlar piece of software
because the problem is repeated all over the place.  This gets old fast.

That said, a warning filter solves the problem for me entirely without
needing to think too hard about the source of the problem or why it's
happening.  So I think it's the right thing to do.

I still don't understand why the syntax change is desirable, but now the
warning filter lets me not care! ;-)

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

That's good...

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

Like I said, I don't understand this, but I don't have to anymore. ;-)

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

Yes, it works well...

- C





More information about the Zope-Coders mailing list