monkey_patches: disable for Python >= 3.6.7

3.6 >=7 are fixed
3.7.0 is incompatible with the monkey patches and they do more harm than good
3.7 >=1 are fixed
pull/1176/head
Sebastien Bourdeauducq 2019-01-15 20:29:20 +08:00
parent 05f6dafb2c
commit 689714965b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import socket
__all__ = []
if sys.version_info[:3] >= (3, 5, 2):
if sys.version_info[:3] >= (3, 5, 2) and sys.version_info[:3] <= (3, 6, 6):
import asyncio
# See https://github.com/m-labs/artiq/issues/506