commit | ab4aca868d68b9de9b20a9991bbbb5e78ab48a30 | [log] [tgz] |
---|---|---|
author | Dirk Pranke <dpranke@chromium.org> | Tue Dec 04 19:43:29 2018 |
committer | Dirk Pranke <dpranke@chromium.org> | Tue Dec 04 21:19:37 2018 |
tree | 78848c625e7729b7690cefcbd658728251378318 | |
parent | f2dca32f785648a03440ff030625150590a52372 [diff] |
Mostly mechanical changes for Python3 support. Everything should still work fine in Python 2. With this change (and the others I've just landed), Python 3 should work on at least Linux, but I need to do more sanity-checking on Mac and Win. The changes in this CL are all mechanical -- things like print() instead of print, `key in dict` rather than dict.has_key(key), and switching to use .decode('utf8') to handle the binary streams returned from a subprocess (and a few other things). Most of this work is derived from Ashley.Whetter@gmail.com's original work in https://codereview.chromium.org/1454433002/. Bug: gyp:36 Change-Id: Ie04ebcf2d82e7b8ff34c6a112215eac46af688ba Reviewed-on: https://chromium-review.googlesource.com/c/1357805 Reviewed-by: Mark Mentovai <mark@chromium.org>
Documents are available at gyp.gsrc.io, or you can check out md-pages
branch to read those documents offline.