[issue29897] itertools.chain behaves strangly when copied with copy.copy
Kristján Valur Jónsson
report at bugs.python.org
Sun Apr 2 05:12:12 EDT 2017
Kristján Valur Jónsson added the comment:
It is a tricky issue. How deep do you go?what if you are chaining several
of the itertools? Seems like we're entering a semantic sinkhole here.
Deepcopy would be too deep...
The original copy support in these objects stems from the desire to support
pickling.
On 1 Apr 2017 16:12, "Raymond Hettinger" <report at bugs.python.org> wrote:
>
> Raymond Hettinger added the comment:
>
> Serhiy, feel free to take this in whatever direction you think is best.
>
> ----------
> assignee: -> serhiy.storchaka
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue29897>
> _______________________________________
>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29897>
_______________________________________
More information about the Python-bugs-list
mailing list