A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/085552.html below:

[Python-Dev] pprint(iterator)

[Python-Dev] pprint(iterator) [Python-Dev] pprint(iterator)Guido van Rossum guido at python.org
Tue Jan 27 23:15:07 CET 2009
On Tue, Jan 27, 2009 at 2:12 PM, Benjamin Peterson <benjamin at python.org> wrote:
> On Tue, Jan 27, 2009 at 3:46 PM, Raymond Hettinger <python at 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/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4