RESOLVED FIXED 212468
Web Inspector: generate_cpp_protocol_types_header.py:294: SyntaxWarning: "is" with a literal. Did you mean "=="?
https://bugs.webkit.org/show_bug.cgi?id=212468
Summary Web Inspector: generate_cpp_protocol_types_header.py:294: SyntaxWarning: "is"...
Michael Catanzaro
Reported 2020-05-28 07:51:21 PDT
I just noticed this build warning with python 3.8.3, not sure if it's new or if I've just never noticed before: [155/1729] Generating ../../DerivedSou...spector/InspectorBackendCommands.js.in /home/mcatanzaro/Projects/WebKit/Source/JavaScriptCore/inspector/scripts/codegen/generate_cpp_protocol_types_header.py:294: SyntaxWarning: "is" with a literal. Did you mean "=="? if line.startswith(('#', '/*', '*/', '//')) or len(line) is 0: Fix is trivial.
Attachments
Patch (1.70 KB, patch)
2020-05-28 07:52 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2020-05-28 07:52:12 PDT
EWS Watchlist
Comment 2 2020-05-28 07:53:16 PDT
This patch modifies the inspector protocol generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-inspector-generator-tests --reset-results`)
EWS
Comment 3 2020-05-28 08:31:09 PDT
Committed r262243: <https://trac.webkit.org/changeset/262243> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400457 [details].
Radar WebKit Bug Importer
Comment 4 2020-05-28 08:32:24 PDT
Note You need to log in before you can comment on or make changes to this bug.