-
Notifications
You must be signed in to change notification settings - Fork 581
Closed
Description
- uvloop version:
root@7013da30e325:/# pip freeze
uvloop==0.9.1
- Python version:
root@7013da30e325:/# python -VV
Python 3.7.0b4 (default, May 5 2018, 02:57:38)
[GCC 6.3.0 20170516]
- Platform:
root@7013da30e325:/# uname -a
Linux 7013da30e325 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 GNU/Linux
- How to reproduce the bug with
PYTHONASYNCIODEBUGin env:
docker run -it --rm python:3.7.0b4 bash
pip install uvloop
PYTHONASYNCIODEBUG=1 python -c "import uvloop"
- Error message:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/uvloop/__init__.py", line 7, in <module>
from .loop import Loop as __BaseLoop # NOQA
File "uvloop/includes/stdlib.pxi", line 41, in init uvloop.loop
AttributeError: module 'asyncio.coroutines' has no attribute 'debug_wrapper'
- Root cause:
Theasyncio.coroutines.debug_wrapperwas dropped in python/cpython@fc2f407#diff-0caeb050855d4e381a842dc66be8c323. - Proposal of solution:
Useasyncio.coroutines.CoroWrapperinstead because it is used in 3.4, 3.5 and 3.6.
Metadata
Metadata
Assignees
Labels
No labels