mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Don't automatically install uvloop. Let people do that
People are reporting uvloop would crash with weird core-dumped errors when using other asyncio libs, such as aiohttp. Plus, this was a bad idea and people should install uvloop themselves before running their codes.
This commit is contained in:
parent
9940dd678f
commit
4d324abbb5
1 changed files with 0 additions and 7 deletions
|
|
@ -28,13 +28,6 @@ __version__ = "0.16.0.asyncio-dev"
|
||||||
__license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)"
|
__license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)"
|
||||||
__copyright__ = "Copyright (C) 2017-2019 Dan <https://github.com/delivrance>"
|
__copyright__ = "Copyright (C) 2017-2019 Dan <https://github.com/delivrance>"
|
||||||
|
|
||||||
try:
|
|
||||||
import uvloop
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
uvloop.install()
|
|
||||||
|
|
||||||
from .errors import RPCError
|
from .errors import RPCError
|
||||||
from .client import *
|
from .client import *
|
||||||
from .client.handlers import *
|
from .client.handlers import *
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue