[issue18032] set methods should specify whether they consume iterators "lazily"

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks good. I'll go over it in more detail shortly. -- nosy: -docs@python stage: needs patch -> patch review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-11-19 Thread Dustin Haffner
Dustin Haffner added the comment: I've made an attempt at patching set_issubset() to match the Python from Raymond's message. I've rearranged the set_issubset function so that it checks for a set/frozenset, dict, or iterable in that order. In the iterable case it will create a temporary set an

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: We don't normally document implementation details or the presences or absence of internal optimizations. This gives us freedom to change the implementation and it allows freedom for other implementations (such as Jython, IronPython, and PyPy) to make their

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-27 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ _

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-25 Thread Phil Connell
Changes by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-22 Thread Abafei
New submission from Abafei: It says here (http://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset) that some of the set methods take iterables as a parameter. Usually, the expected behavior is for a iterator consumer to consume only as much data as it needs. For example, for th