From 1fc38ecdc6cf4cae7007af66eedf2229e2cee6db Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 12 Oct 2019 18:57:12 -0400 Subject: [PATCH] pypy pypy3.6-7.1.0 tolerance --- .travis.yml | 3 ++- NEWS.md | 1 + xdis/unmarshal.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40971554..1b30a1dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,10 @@ python: # - '2.6' - '2.7' # - '3.3' - - '3.4' +# - '3.4' - '3.5' - '3.6' + - '3.7' - 'pypy3' install: diff --git a/NEWS.md b/NEWS.md index dd36ca55..016c801f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,7 @@ - Add early bytecodes: 1.0, 1.1, 1.2, and 1.6. Going off of pycdc bytecode since this is the only bytecode for these versions I know of - Fix bug in Python 3.x decompiling 2.x that contains strings with non-ascii characters - More generally, better handling of non-ascii Python 2 strings in both input and output in Python 3 +- pypy 3.6-7.1.0 tolerance 4.0.4 2019-10-02 ================ diff --git a/xdis/unmarshal.py b/xdis/unmarshal.py index 27594d6e..4cf9421d 100644 --- a/xdis/unmarshal.py +++ b/xdis/unmarshal.py @@ -324,7 +324,7 @@ def load_code_type(fp, magic_int, bytes_for_s=False, code_objects={}): co_stacksize, co_flags, co_code, - co_consts, + tuple(co_consts), co_names, co_varnames, co_filename,