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.

_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to