[pypy-issue] [issue1568] Using socket.makefile from eventlet results in hangs

Armin Rigo tracker at bugs.pypy.org
Tue Aug 6 15:00:42 CEST 2013

Armin Rigo <armin.rigo at gmail.com> added the comment:

Bogus!  We must call _fileobject(self) or maybe _fileobject(self.dup()),
otherwise we don't get the GreenSocket functionality.  So I guess it's a matter
of add two methods:

    def _reuse(self): self.fd._sock._reuse()
    def _drop(self):  self.fd._sock._drop()

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list