Ben Darnell <[email protected]> added the comment: I don't think it's the same issue - in this case the type is still _realsocket.
The problem is that after wrap_socket, the _realsocket has a refcount of 2. The original socket is rendered unusable by the wrapping, so it should no longer retain a reference. (cpython didn't actually guarantee this prior to 3.2; you'd have a similar leak in cpython 2.7 if the wrapped and unwrapped sockets had different names) ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1577> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
