Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2017-08-15 11:12:20 -04:00
7 changed files with 29 additions and 27 deletions

View File

@@ -126,7 +126,10 @@ def validate_uncompyle(text, mode='exec'):
original_text = text
deparsed = deparse_code(PYTHON_VERSION, original_code,
compile_mode=mode, out=StringIO())
compile_mode=mode,
out=StringIO(),
is_pypy=IS_PYPY)
uncompyled_text = deparsed.text
uncompyled_code = compile(uncompyled_text, '<string>', 'exec')