Armin Rigo <[email protected]> added the comment:

The example passes now with two changes:

- added c.close()

- tweaked the method GreenSocket.makefile() in eventlet to not call dup() (which
leaks) and to pass an object that is a raw socket (as opposed to a
_socketobject).  The tweaked is here:

    def makefile(self, *args, **kw):
        return _fileobject(self.fd._sock, *args, **kw)

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1568>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to