Skip to content
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

Fix python3 incompatibilities in script #1154

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

ngzhian
Copy link
Member

@ngzhian ngzhian commented Mar 25, 2020

  1. shelve.DbfilenameShelf no longer has has_key, use in
  2. dict no longer has iteritems(), use items()
  3. open subprocess as text, since we are passing text to it

This will fix the errors mentioned in #1151 (comment)

1. shelve.DbfilenameShelf no longer has has_key, use `in`
2. dict no longer has iteritems(), use items()
3. open subprocess as text, since we are passing text to it
@ngzhian ngzhian requested a review from binji March 25, 2020 19:19
Copy link
Member

@binji binji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ngzhian ngzhian merged commit d38a84e into WebAssembly:master Mar 25, 2020
@ngzhian ngzhian deleted the fix-py3-incompat branch March 27, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants