[Webkit-unassigned] [Bug 212468] New: Web Inspector: generate_cpp_protocol_types_header.py:294: SyntaxWarning: "is" with a literal. Did you mean "=="?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 28 07:51:21 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212468

            Bug ID: 212468
           Summary: Web Inspector:
                    generate_cpp_protocol_types_header.py:294:
                    SyntaxWarning: "is" with a literal. Did you mean "=="?
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200528/82d245f2/attachment-0001.htm>


More information about the webkit-unassigned mailing list