[issue20606] Operator Documentation Example doesn't work

2015-01-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue20606] Operator Documentation Example doesn't work

2015-01-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closed -- nosy: +asvetlov resolution: -> duplicate stage: -> resolved superseder: -> operator.setitem example no longer works in Python 3 due to lazy map ___ Python tracker ___

[issue20606] Operator Documentation Example doesn't work

2015-01-04 Thread Gareth Rees
Gareth Rees added the comment: This is a duplicate of #22180, which was fixed in changeset 9c250f34bfa3 by Raymond Hettinger in branch '3.4'. The fix just removes the bad example, as in my patch. So I suggest that this issue be closed as a duplicate. -- ___

[issue20606] Operator Documentation Example doesn't work

2014-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20606] Operator Documentation Example doesn't work

2014-02-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue20606] Operator Documentation Example doesn't work

2014-02-12 Thread Gareth Rees
Changes by Gareth Rees : -- keywords: +patch Added file: http://bugs.python.org/file34059/operator.patch ___ Python tracker ___ ___ Py

[issue20606] Operator Documentation Example doesn't work

2014-02-12 Thread Gareth Rees
Gareth Rees added the comment: The failing example is: d = {} keys = range(256) vals = map(chr, keys) map(operator.setitem, [d]*len(keys), keys, vals) which works in Python 2 where map returns a list, but not in Python 3 where map returns an iterator. Doc/library/operator.r

[issue20606] Operator Documentation Example doesn't work

2014-02-12 Thread silentbat
New submission from silentbat: In the Docs for Python3.3 http://docs.python.org/3.3/library/operator.html#operator.__setitem__ the following example doesn't work. -- assignee: docs@python components: Documentation messages: 211079 nosy: docs@python, silent.bat priority: normal severity: