Last active
July 29, 2017 14:00
-
-
Save d53dave/d29cd2e75ce06650e8b875a04a0a68db to your computer and use it in GitHub Desktop.
Fixing pyzmq 16 and 17 fileno() issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd $(pipenv --venv) && sed -i '/_poller_class = Poller/ a\ | |
def fileno(self):\ | |
return self.FD\ | |
' $(egrep -lir --include="__init__.py" "class Socket\(_AsyncIO, _future._AsyncSocket\)" .) && cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment