[Webkit-unassigned] [Bug 224978] New: jsonchecker.py validate_string uses Python 2 basestring type instead of Python 2/3 str type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 23 07:57:52 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=224978
Bug ID: 224978
Summary: jsonchecker.py validate_string uses Python 2
basestring type instead of Python 2/3 str type
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: twilco.o at protonmail.com
This causes the check to exit early the first time it validates a string. This error is then printed:
name 'basestring' is not defined
We can use the str type instead, which is valid for both Python 2 and Python 3.
--
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/20210423/cd79a7a1/attachment.htm>
More information about the webkit-unassigned
mailing list