Uvloop: Does uvloop support PyPy now?

Created on 9 Mar 2018  路  1Comment  路  Source: MagicStack/uvloop

$ python
Python 3.5.3 (7a22aa3bd5bf, Dec 25 2017, 17:11:18)
[PyPy 5.10.0 with GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
>>>> from uvloop import loop
>>>> loop
<module 'uvloop.loop' from '/Users/michael/.local/share/virtualenvs/arb-oYKsIFe-/site-packages/uvloop/loop.pypy3-510-darwin.so'>

Works:

import asyncio
import uvloop

asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
asyncio.get_event_loop().run_forever()

I can't find any information about this though, no announcements or anything.

Most helpful comment

I didn't make any changes to uvloop to support PyPy, so I guess it's just cpyext / cython getting fixed. Would appreciate you sharing your experience with running uvloop on PyPy.

>All comments

I didn't make any changes to uvloop to support PyPy, so I guess it's just cpyext / cython getting fixed. Would appreciate you sharing your experience with running uvloop on PyPy.

Was this page helpful?
0 / 5 - 0 ratings