Re: [Zope] DTML batch processing variables
Hi Martijn, thanks for the patch, it solved the problem. On Fri, 25 Jun 1999, Martijn Pieters wrote:
It has nothing to do with simple math, but everything with the interpretation of None compared to 0's. Something that was implemented wrongly in python 1.5.1, and fixed in 1.5.2. This change brought out a bug in the code, which hitherto had managed to miraculously work anyway.
1.10.3 is meant to run with python 1.5.1, not 1.5.2, and has only been tested with 1.5.1. There are other problems concerning running Zope 1.10.3 with version 1.5.1 than this one, like Netscape Publishing, FTP uploads and WebDAV being broken.
If you insist, here is a context diff from the CVS you could apply, it probably has slightly differing line numbers, but you should be able to apply it to DT_In.py anyway, as patch will correct for this. It basically replaces all occurrences of None within calls to the method 'opt' with 0:
Gruß Joachim Schmitz
participants (1)
-
Joachim Schmitz