Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
No problem.
Will forward port when I get a chance.
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
Ezio Melotti ezio.melo...@gmail.com added the comment:
Raymond, before porting you should check the typos reported in issue #7778.
--
dependencies: +Typo(s) in ``itertools`` documentation reST marker
nosy: +ezio.melotti
stage: needs patch - commit review
Muhammad Alkarouri malkaro...@gmail.com added the comment:
Excellent solution and comments. Many thanks.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
Changes by Jan Kaliszewski z...@chopin.edu.pl:
--
title: dictview - Doc for itertools recipe consume is complicated and less
efficient
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
Jan Kaliszewski z...@chopin.edu.pl added the comment:
(sorry! typed into a wrong field)
--
nosy: +zuo
versions: +Python 2.6, Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
Florent Xicluna la...@yahoo.fr added the comment:
Changeset r77721 should be ported to trunk, and py3k probably.
--
nosy: +flox
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Remain calm. I left the status as Open for a reason. When I'm satisfied that
people are reacting well to the new update, will port to other versions.
--
___
Python tracker
Muhammad Alkarouri malkaro...@gmail.com added the comment:
Mea culpa. Not knowing the conventions here, I closed the ticket, which
probably resulted in florent's feedback. I will leave you to it then.
--
___
Python tracker rep...@bugs.python.org
New submission from Muhammad Alkarouri malkaro...@gmail.com:
Based on the discussion at:
http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/c1ae3513a31eb63e/d0701a9902732c67?hl=en#d0701a9902732c67
In the documentation of itertools, one of the functions provided in the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +rhettinger
priority: - normal
stage: - needs patch
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
___
Peter Otten __pete...@web.de added the comment:
As noted on comp.lang.python the implementation can be simplified to
def consume(items, n):
next(islice(items, n, n), None)
When I suggested the above I wasn't aware that
consume(items, None)
should exhaust the entire iterator.
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Will switch to the version using next() instead of deque().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
See r77721
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7764
___
___
15 matches
Mail list logo