Donald Stufft added the comment: As an additional note this works how I would expect it to work if you're using sorted() instead of reversed() which I think is a stronger point in the favor of making reversed() work this way as well.
>>> sorted(x for x in [1, 2, 3]) [1, 2, 3] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18826> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com