Am 7.12.10 15:19 , schrieb Tres Seaver:
result = context.someZSQLMethod()
for row in result:
for col in row: #this will fail
pass
Does the safe list builtin work for you in 2.12?
for row in result:
for col in list(row):
pass
Yes. This works in 2.12.
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
Hi Tres,
[...]
Given some ZSQLMethod, and either ZMySQLDA (3.1.1) or ZPsycopgDA
(2.0.14 or 2.2.2)
and the following python script:
result = context.someZSQLMethod()
for row in result:
for col in row: #this will fail
pass
I get an AttributeError: __iter__
[...]
I don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/01/2010 08:27 AM, Andreas Elvers wrote:
Hi,
I stumbled over the following error using Zope 2.12.13. Bug ?
Given some ZSQLMethod, and either ZMySQLDA (3.1.1) or ZPsycopgDA
(2.0.14 or 2.2.2)
and the following python script:
result =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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
-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
Hi,
I stumbled over the following error using Zope 2.12.13. Bug ?
Given some ZSQLMethod, and either ZMySQLDA (3.1.1) or ZPsycopgDA
(2.0.14 or 2.2.2)
and the following python script:
result = context.someZSQLMethod()
for row in result:
for col in row: #this will fail
pass
I get an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/01/2010 08:27 AM, Andreas Elvers wrote:
Hi,
I stumbled over the following error using Zope 2.12.13. Bug ?
Given some ZSQLMethod, and either ZMySQLDA (3.1.1) or ZPsycopgDA
(2.0.14 or 2.2.2)
and the following python script:
result =
Am 1.12.10 14:52 , schrieb Tres Seaver:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/01/2010 08:27 AM, Andreas Elvers wrote:
Hi,
I stumbled over the following error using Zope 2.12.13. Bug ?
Given some ZSQLMethod, and either ZMySQLDA (3.1.1) or ZPsycopgDA
(2.0.14 or 2.2.2)
and