commit | 6330487b55aaff5b85d410a3d411756c586fe2bc | [log] [tgz] |
---|---|---|
author | Marcin Radomski <dextero@google.com> | Tue Mar 29 15:20:38 2022 |
committer | Mark Mentovai <mark@chromium.org> | Thu Mar 31 14:56:33 2022 |
tree | aca381f5d630ece3e9bf1f9399b36904ce7b84d3 | |
parent | 2105cc8cefdacbe243a7f6333036cfeb46cff793 [diff] |
msvs_emulation.py: avoid string-int/float comparisons This silently does a wrong thing on python2 (compares *type names* instead of values, see "Objects of different types" note on https://docs.python.org/2/library/stdtypes.html#comparisons), and throws TypeError on python3. Bug: 227327945 Change-Id: I70c831151f1eafde87b01a34b9d192785840ea3b Reviewed-on: https://chromium-review.googlesource.com/c/external/gyp/+/3557379 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.