Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake socket is not compatible with PyPy #98

Open
dellis23 opened this issue Jul 21, 2014 · 0 comments
Open

Fake socket is not compatible with PyPy #98

dellis23 opened this issue Jul 21, 2014 · 0 comments

Comments

@dellis23
Copy link

The _urllib2_fork digs into the internals of sockets, causing breakage when used with PyPy. There's a number of libraries that have had this issue, but here's a link to the patch where it was fixed in PyPy proper:

https://mail.python.org/pipermail/pypy-commit/2013-August/076574.html

The fix is to add _reuse and _drop methods to the object that is being passed to socket._fileobject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant