I faced a very weird issue today with this simple code:
var1 = 1
var2 = 2
if var1 > var2 > var3:
print('Does not run')
print('Did not crash')
Output:
Did not crash
Why isn't this code raising NameError with Python 3.7 ? Replacing the interval comparison with a simple comparison raises NameError as expected. Is this a python bug ?