This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rbcollins
Recipients rbcollins
Date 2009-11-30.02:04:45
SpamBayes Score 0.0024142303
Marked as misclassified No
Message-id <1259546688.1.0.524850566864.issue7410@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 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 (or picklable
for that reason - and that fails too)
History
Date User Action Args
2009-11-30 02:04:49rbcollinssetrecipients: + rbcollins
2009-11-30 02:04:48rbcollinssetmessageid: <1259546688.1.0.524850566864.issue7410@psf.upfronthosting.co.za>
2009-11-30 02:04:46rbcollinslinkissue7410 messages
2009-11-30 02:04:45rbcollinscreate