|author||Marcin Radomski <email@example.com>||Tue Mar 29 15:12:40 2022|
|committer||Mark Mentovai <firstname.lastname@example.org>||Thu Mar 31 14:56:33 2022|
Fix python3 compatibility on windows * Use six.ensure_bytes in pylib/py/generator/ninja.py * Pass universal_newlines=True to subprocess.Popen calls in pylib/gyp/win_tool.py and pylib/gyp/msvs_emulation.py, so that captured stdout is read as string instead of as raw bytes * Replace str.translate calls with re.sub. Python3 doesn't support this str.translate with two arguments. re.sub() works the same in python2 and 3. Note: six.ensure_binary requires six>=1.15.0 (released 2020-05-21). Bug: 227327945 Change-Id: I750a290b865bc6d9555f833237b72b9f3efa3b69 Reviewed-on: https://chromium-review.googlesource.com/c/external/gyp/+/3557378 Reviewed-by: Mark Mentovai <email@example.com>
Documents are available at gyp.gsrc.io, or you can check out
md-pages branch to read those documents offline.