-
Notifications
You must be signed in to change notification settings - Fork 570
Closed
Description
- uvloop version: master (cbbac15)
- Python version: 3.8.0b1
- Cython version: 0.29.10 (updated for Python 3.8 support)
- Platform: Fedora
- Can you reproduce the bug with
PYTHONASYNCIODEBUG
in env?: yes
The function "sys.set_coroutine_wrapper", which was provisionally added to Python 3.5 and deprecated in Python 3.7, will be removed in Python 3.8. If uvloop needs it, now is the last chance to make the case for it.
When compiled with Python 3.8.0b1, uvloop fails to import:
Python 3.8.0b1 (default, Jun 5 2019, 14:47:51)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import uvloop
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pviktori/dev/uvloop/uvloop/__init__.py", line 7, in <module>
from .loop import Loop as __BaseLoop # NOQA
File "uvloop/includes/stdlib.pxi", line 119, in init uvloop.loop
cdef sys_set_coroutine_wrapper = sys.set_coroutine_wrapper
AttributeError: module 'sys' has no attribute 'set_coroutine_wrapper'
Metadata
Metadata
Assignees
Labels
No labels