Python 3.3 throws a TypeError when you try to compare an int to None.