Get ready for release 2.9.7

Some of the many lint things. Linting is kind of stupid though.
This commit is contained in:
rocky
2016-12-04 07:31:34 -05:00
parent 9cc2700160
commit d22931cb49
18 changed files with 134 additions and 32 deletions

View File

@@ -317,7 +317,7 @@ def cmp_code_objects(version, is_pypy, code_obj1, code_obj2,
i2 += 2
continue
elif tokens1[i1].type == 'LOAD_NAME' and tokens2[i2].type == 'LOAD_CONST' \
and tokens1[i1].pattr == 'None' and tokens2[i2].pattr == None:
and tokens1[i1].pattr == 'None' and tokens2[i2].pattr is None:
pass
else:
raise CmpErrorCode(name, tokens1[i1].offset, tokens1[i1],