[zope2-tracker] [Bug 926278] [NEW] column iteration regression

Launchpad Bug Tracker 926278 at bugs.launchpad.net
Thu Oct 30 14:25:52 CET 2014


You have been subscribed to a public bug:

we make use of column iteration in about a 1000 places in our code, but
at some point between our current version of zope (very old, using
python 2.4) and 2.13.9 (using python 2.7), the feature seems to have
broken:

for row in context.test_sql():
    for col in row:
        print col
return printed

this now gives:

Exception Type 	AttributeError
Exception Value 	__iter__

I don't see another bug filed for this, as was discussed here:

http://comments.gmane.org/gmane.comp.web.zope.general/62973

the program attached in this thread, which tests just
Shared.DC.ZRDB.Results works however..

debug info is attached. this is for a clean zope install.

** Affects: products.zsqlmethods
     Importance: Undecided
         Status: New

-- 
column iteration regression 
https://bugs.launchpad.net/bugs/926278
You received this bug notification because you are a member of Zope 2 Developers, which is subscribed to Products.ZSQLMethods.


More information about the zope2-tracker mailing list