New issue 2340: CPython / PyPy incompatibility issue in itertools.tee https://bitbucket.org/pypy/pypy/issues/2340/cpython-pypy-incompatibility-issue-in
Evan Hubinger: In CPython 2 and 3, I can do ``` #!python from itertools import tee a, b = tee(iter([1, 2, 3])) c = a.__copy__() assert next(a) == 1 and next(b) == 1 and next(c) == 1 ``` but in PyPy 2 and 3, this fails with ``` AttributeError: 'itertools._tee' object has no attribute '__copy__' ``` and `copy.copy` doesn't work either. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue