-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@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/ iEYEARECAAYFAkz+UdoACgkQ+gerLs4ltQ7rPwCguzHh/nFv1hexflrJkNDl/YEI OL0AoMsiIAv/p647aaACgvieRDhiUPRx =6YB9 -----END PGP SIGNATURE-----