John Schinnerer wrote:
Hello,
Thanks Tres, looks like zope 2.7.5/python 2.3.5 is triggering a genuine
full-blown error on my code
python:here.sponsors[0] != ''
if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.
Now
Aloha,
python:here.sponsors[0] != ''
if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.
No. Python 2.1.3 would have blown up the same way.
Must have been Zope 2.5.1 somehow turning the python blowup into
On 27 Aug 2005, at 20:15, John Schinnerer wrote:
python:here.sponsors[0] != ''
if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.
No. Python 2.1.3 would have blown up the same way.
Now I do this
python:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Schinnerer wrote:
Hello,
I have just migrated some custom products from 2.5.1 to 2.7.5, meaning
from python 2.1.3 to 2.3.5.
I have this bit of code in the index_html page template in the product,
which rendered just fine in zope
Hello,
Thanks Tres, looks like zope 2.7.5/python 2.3.5 is triggering a genuine
full-blown error on my code
python:here.sponsors[0] != ''
if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
some equivalent of boolean 'false' when the tuple was empty.
Now I do this
python: