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 MSeifert
Recipients MSeifert, kristjan.jonsson, rhettinger, serhiy.storchaka
Date 2017-03-31.15:59:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490975953.29.0.0522158525079.issue29897@psf.upfronthosting.co.za>
In-reply-to
Content
Just an update what doesn't work: just overriding the `__copy__` method. 

I tried it but it somewhat breaks `itertools.tee` because if the passed iterable has a `__copy__` method `tee` rather copies the iterator (=> resulting in a lot of unnecessary memory overhead or breakage if a generator is "inside") instead of using it's memory-efficient internals.
History
Date User Action Args
2017-03-31 15:59:13MSeifertsetrecipients: + MSeifert, rhettinger, kristjan.jonsson, serhiy.storchaka
2017-03-31 15:59:13MSeifertsetmessageid: <1490975953.29.0.0522158525079.issue29897@psf.upfronthosting.co.za>
2017-03-31 15:59:13MSeifertlinkissue29897 messages
2017-03-31 15:59:13MSeifertcreate