Re: [Zope-dev] TAL i18n breakage in 2.7

2004-02-24 Thread Myroslav Opyr
Myroslav Opyr wrote: I always commented all asserts introduced in newer Zopes out. However I'm struggling with assertion "TALInterpreter, line 490, in do_endI18nContext": def do_endI18nContext(self, notused=None): self.i18nContext = self.i18nContext.parent assert self.i18nContext

Re: [Zope-dev] TAL i18n breakage in 2.7

2004-02-23 Thread Myroslav Opyr
seb bacon wrote: On Thu, Feb 19, 2004 at 09:10:30AM -0500, Stephan Richter wrote: On Thursday 19 February 2004 08:08, seb bacon wrote: Zope 2.7 introduced a change in its translation interface. Previously a translation service could return None, but now returning None causes an assertion erro

Re: [Zope-dev] TAL i18n breakage in 2.7

2004-02-19 Thread seb bacon
On Thu, Feb 19, 2004 at 09:10:30AM -0500, Stephan Richter wrote: > On Thursday 19 February 2004 08:08, seb bacon wrote: > > Zope 2.7 introduced a change in its translation interface.  Previously a > > translation service could return None, but now returning None causes an > > assertion error. > > >

Re: [Zope-dev] TAL i18n breakage in 2.7

2004-02-19 Thread Stephan Richter
On Thursday 19 February 2004 08:08, seb bacon wrote: > Zope 2.7 introduced a change in its translation interface.  Previously a > translation service could return None, but now returning None causes an > assertion error. > > http://cvs.zope.org/Zope/lib/python/TAL/TALInterpreter.py.diff?r1=1.77&r2=

[Zope-dev] TAL i18n breakage in 2.7

2004-02-19 Thread seb bacon
Hi, Zope 2.7 introduced a change in its translation interface. Previously a translation service could return None, but now returning None causes an assertion error. http://cvs.zope.org/Zope/lib/python/TAL/TALInterpreter.py.diff?r1=1.77&r2=1.78 This will break applications (e.g. Plone1) which us