[issue5532] imap usage in itertools unique_justseen recipe

2009-03-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Done in r70520. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue5532] imap usage in itertools unique_justseen recipe

2009-03-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Benjamin, please revert r69354 which was an incorrect merge. -- assignee: rhettinger -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___

[issue5532] imap usage in itertools unique_justseen recipe

2009-03-21 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: georg.brandl -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue5532] imap usage in itertools unique_justseen recipe

2009-03-21 Thread Michael Newman
New submission from Michael Newman : The recipe for "unique_justseen" listed on: http://docs.python.org/3.0/library/itertools.html uses "imap", which is not available in Python 3.0. I fixed it by changing "imap" to just "map", and I also changing "itemgetter" to "operator.itemgetter" to make the