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
This commit is contained in:
Sebastien Bourdeauducq 2019-01-15 20:29:20 +08:00
parent 56315203a9
commit ea39160006
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