Fix InternalUTF8ToString to consider U+FFFE as invalid
This commit also adds the foldtabs option as default for the eval test suite, and substantially improves the Unicode valid/invalid character test.
This commit is contained in:
@@ -743,7 +743,7 @@ def generateScriptTests():
|
||||
else ['main.py',
|
||||
# Defaults for Expr:
|
||||
'-O', 'clear,optimize,constfold'
|
||||
',addstrings,expr',
|
||||
',addstrings,foldtabs,expr',
|
||||
'-y',
|
||||
'-']))
|
||||
werr(u"\nRunning test %s: " % any2u(fbase))
|
||||
|
||||
Reference in New Issue
Block a user