[Zope] Iteration over columns in ZSQLMethod result not working in Zope 2.12.13

Andreas Elvers andreas at work.de
Wed Dec 8 05:40:10 EST 2010


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.



More information about the Zope mailing list