Dieter, I actually put the list in because one of the last suggestions in the archives to repair the problem had to do with enclosing the assignment in a list. The original code was essentially: if sorton == 'id': res=[(row.id.split().pop(), row) for row in results] res.sort() return res This doesn't work, either, in zope 2.7.4 or 2.7.5 with python 2.3.4 and 2.3.5 respectively, as far as I can see. Thanks for taking a look at things--I'll file a bug report (this is stopping me from migrating a site into 2.7) as you suggested ira On Apr 3, 2005 10:44 AM, Dieter Maurer <dieter@handshake.de> wrote:
Ira Sher wrote at 2005-4-1 14:29 -0700:
I scoured the archives, and found mention of this problem, and a note by you, Dieter saying it was a problem with the 2.7 beta (this was back in May of 2004) but I can't find any subsequent mention of the issue
Nobody mentioned it again -- until your report...
You may try to remove the "list(...)" wrapping in your code. It should work without.
If it does not, file a bug report to "http://www.zope.org/Collectors/Zope".
-- Dieter