[issue18250] In itertools.repeat() object shadows object()

2013-06-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for your bug report and patch, but I agree that we can't change this. The repeat() function really does take 'object' as the keyword argument: >>> from itertools import * >>> list(repeat(times=3, object='abc')) ['abc', 'abc', 'abc'] >>> repeat(times=3, e

[issue18250] In itertools.repeat() object shadows object()

2013-06-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think this is a problem, since it is only a local variable in a function. -- nosy: +pitrou ___ Python tracker ___ _

[issue18250] In itertools.repeat() object shadows object()

2013-06-17 Thread py.user
New submission from py.user: >>> object >>> -- assignee: docs@python components: Documentation files: issue.diff keywords: patch messages: 191384 nosy: docs@python, py.user priority: normal severity: normal status: open title: In itertools.repeat() object shadows object() type: enhancem