[issue7410] deepcopy of itertools.count resets the count

2009-11-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7410] deepcopy of itertools.count resets the count

2009-11-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in r76599. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue7410] deepcopy of itertools.count resets the count

2009-11-29 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7410] deepcopy of itertools.count resets the count

2009-11-29 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue7410] deepcopy of itertools.count resets the count

2009-11-29 Thread Robert Collins
New submission from Robert Collins : >>> from copy import deepcopy >>> from itertools import count >>> c = count() >>> c.next() 0 >>> deepcopy(c) count(0) >>> c.next() 1 >>> deepcopy(c) count(0) >>> c count(2) >>> deepcopy(c).next() 0 I don't see any reason why these shouldn't be deepcopyable (