Skip to content

Py36 support #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
byte_CALL_FUNCTION_KW for py34
  • Loading branch information
vrthra committed Feb 12, 2018
commit 1765ce061e39db10dc8c37241da18e48e2490705
2 changes: 1 addition & 1 deletion byterun/pyvm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ def byte_CALL_FUNCTION_VAR(self, arg):
def byte_CALL_FUNCTION_KW(self, argc):
if not(six.PY3 and sys.version_info.minor >= 6):
kwargs = self.pop()
return self.call_function(arg, [], kwargs)
return self.call_function(argc, [], kwargs)
# changed in 3.6: keyword arguments are packed in a tuple instead
# of a dict. argc indicates total number of args.
kwargnames = self.pop()
Expand Down