This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bquinlan
Recipients bquinlan, cool-RR, docs@python, ethan.furman, jnoller, ncoghlan, paul.moore, pitrou, rhettinger, sbt
Date 2015-06-08.14:31:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433773913.99.0.934479897228.issue24195@psf.upfronthosting.co.za>
In-reply-to
Content
Actually it immediately converts the iterable into a list. Recall:

def filter(self, fn, iterable, timeout=None):
  l = list(iterable)  # iterable => list
  return (item for (item, keep) in zip(l, self.map(fn, l, timeout)) if keep)
History
Date User Action Args
2015-06-08 14:31:54bquinlansetrecipients: + bquinlan, rhettinger, paul.moore, ncoghlan, pitrou, jnoller, cool-RR, docs@python, ethan.furman, sbt
2015-06-08 14:31:53bquinlansetmessageid: <1433773913.99.0.934479897228.issue24195@psf.upfronthosting.co.za>
2015-06-08 14:31:53bquinlanlinkissue24195 messages
2015-06-08 14:31:53bquinlancreate