Adjust for newer xdis

This commit is contained in:
rocky
2020-06-21 20:19:44 -04:00
parent 7dec354a47
commit e3720515ae
2 changed files with 3 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ entry_points = {
]} ]}
ftp_url = None ftp_url = None
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", install_requires = ["spark-parser >= 1.8.9, < 1.9.0",
"xdis >= 4.6.1, < 4.8.0"] "xdis >= 4.7.0, <5.1.0"]
license = "GPL3" license = "GPL3"
mailing_list = "python-debugger@googlegroups.com" mailing_list = "python-debugger@googlegroups.com"

View File

@@ -119,12 +119,10 @@ def decompile(
mapstream = _get_outstream(mapstream) mapstream = _get_outstream(mapstream)
deparsed = deparse_code_with_map( deparsed = deparse_code_with_map(
bytecode_version,
co, co,
out, out,
showasm, bytecode_version,
showast, debug_opts,
showgrammar,
code_objects=code_objects, code_objects=code_objects,
is_pypy=is_pypy, is_pypy=is_pypy,
) )