On Tue, Jan 27, 2009 at 2:12 PM, Benjamin Peterson <benja...@python.org> wrote: > On Tue, Jan 27, 2009 at 3:46 PM, Raymond Hettinger <pyt...@rcn.com> wrote: >> It is becoming the norm in 3.x for functions to return iterators, >> generators, or views whereever possible. > >> Do you guys have any thoughts on the subject? > > Maybe a solution like this could help with bugs like #2610?
It would have to special-case range() objects. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com