On 3/23/06, Robert Brewer <[EMAIL PROTECTED]> wrote: > It is a hassle. I recently changed my ORM's API from returning iterators > to lists based on similar user feedback (and I could have sworn I > already made this comment on this issue, but I can't find it now). That > experience hints to me that any interface that prefers iterators over > lists is going to be resisted; builtins doubly so.
Interesting. Was your feedback also based on use in interactive sessions only (like Jim's)? Would the same objection exist against APIs that return "views" as I described in a previous message (a la the Java collections package)? -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com