Alexandre Vassalotti added the comment:

The issue here is copy.deepcopy will raise an exception whenever it encounters 
a generator. We would like to do better here. Unfortunately, using 
itertools.tee is not a solution here because it does not preserve the type of 
the object.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to