[ not(major >= 3 and minor >= 4) ] fails for '4.0'
@ -30,7 +30,7 @@ import signal
import struct
import sys
if not (sys.version_info.major >= 3 and sys.version_info.minor >= 5):
if (sys.version_info.major, sys.version_info.minor) < (3, 5):
print("This example only works with Python 3.5 and greater")
sys.exit(1)
@ -34,7 +34,7 @@ import signal
if not (sys.version_info.major >= 3 and sys.version_info.minor >= 4):
if (sys.version_info.major, sys.version_info.minor) < (3, 4):
print("This example only works with Python 3.4 and greater")