After switching up to python 3.8, generate-js-builtins.py hits a SyntaxWarning for the use of "is 0". Apparently, per https://bugs.python.org/issue34850 this sort of usage happens to work on CPython by accident, but is not guaranteed to work on other python implementation or necessarily continue working in CPython. The warning suggests replacing is with == for such cases.
Created attachment 388892 [details] Replace use of "is 0" with "== 0".
This patch modifies the JS builtins code generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-builtins-generator-tests --reset-results`)
Comment on attachment 388892 [details] Replace use of "is 0" with "== 0". rs=me
Comment on attachment 388892 [details] Replace use of "is 0" with "== 0". Clearing flags on attachment: 388892 Committed r255186: <https://trac.webkit.org/changeset/255186>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58936818>