Message290917
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. |
|
Date |
User |
Action |
Args |
2017-03-31 15:59:13 | MSeifert | set | recipients:
+ MSeifert, rhettinger, kristjan.jonsson, serhiy.storchaka |
2017-03-31 15:59:13 | MSeifert | set | messageid: <1490975953.29.0.0522158525079.issue29897@psf.upfronthosting.co.za> |
2017-03-31 15:59:13 | MSeifert | link | issue29897 messages |
2017-03-31 15:59:13 | MSeifert | create | |
|