Bug 261307 - Change xrange() to range() in jsonchecker.py
Summary: Change xrange() to range() in jsonchecker.py
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-07 18:09 PDT by David Kilzer (:ddkilzer)
Modified: 2023-09-08 16:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-09-07 18:09:10 PDT
Change xrange() to range() in jsonchecker.py for Python3.

Running `check-webkit-style` results in the following message being printed to the console:

```
$ ./Tools/Scripts/check-webkit-style --filter="-,+runtime/wtf_make_unique" Source/JavaScriptCore
name 'xrange' is not defined
```
Comment 1 Radar WebKit Bug Importer 2023-09-07 18:09:45 PDT
<rdar://problem/115147068>
Comment 2 David Kilzer (:ddkilzer) 2023-09-07 18:12:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17564
Comment 3 EWS 2023-09-08 16:45:56 PDT
Committed 267816@main (91607fdd1b5e): <https://commits.webkit.org/267816@main>

Reviewed commits have been landed. Closing PR #17564 and removing active labels.