[Zope] Iteration over columns in ZSQLMethod result not working in Zope 2.12.13
tseaver at palladion.com
Tue Dec 7 10:25:14 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 12/07/2010 09:19 AM, Tres Seaver wrote:
> On 12/07/2010 05:02 AM, Andreas Elvers wrote:
>> To answer part of my own question:
>> ZSQLMethod column iteration went away with 2.12. Up until Zope 2.11.7
>> still had this feature available with no deprecation messages logged
>> when using this feature.
>> Should I file a bug for missing deprecation messages in 2.11 or for
>> missing functionality in 2.12 ?
> Hmmm, I would file it as missing functionality in 2.12. The bug may be
> due to changes in the supported version of Python (2.4 for Zope < 2.12,
> 2.6 for 2.12).
The attached script should help isolate the bug without needing an
actual SQL connection. Under 2.11, run as::
$ PYTHONPATH=lib/python /path/to/python2.4 iter_results_record.py
Under 2.12, run as::
$ bin/allpy iter_results_record.py
Note that the script runs without errors under both versions for me:
likely the security machinery isn't actually being wired up. I'm out of
time, however, to think harder about it.
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1034 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20101207/86af332d/attachment.bin
More information about the Zope