zope calls list(iterable) whenever we use tal:repeat="item iterable"
Bug #4819 reported by
Guilherme Salgado
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BlueBream |
New
|
Undecided
|
Unassigned | ||
Launchpad itself |
Fix Released
|
Medium
|
Unassigned | ||
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.tal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I don't see any reason why this needs to be done, and it can be a problem because is some cases the result can be something you don't expect. For instance, with sqlobject, if you do a list(SelectResu
Changed in launchpad: | |
status: | New → Accepted |
Changed in launchpad: | |
assignee: | stevea → nobody |
Changed in zope3: | |
status: | New → Won't Fix |
Changed in zope.tal: | |
status: | New → Confirmed |
tags: | added: bugday20100424 |
To post a comment you must log in.
Apply this patch and go to http:// localhost: 8086/+portlet- foaf to see the extra COUNT(*) query.