Bug 237053

Summary: Use python 3 f-strings in EWS - part 1
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, jbedard, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=267410

Description Aakash Jain 2022-02-22 13:13:55 PST
EWS code is python 3 only. If run on python 2, it print an error asking to use Python 3 and exits immediately. So, we can start using some of the nice features which are Python 3 only, f-string being one of them.

We should convert strings in ews code to f-strings. Since there are lot of them, part 1 will deal with unit-tests.
Comment 1 Aakash Jain 2022-02-22 13:36:38 PST
Pull request: https://github.com/WebKit/WebKit/pull/166
Comment 2 Aakash Jain 2022-02-23 03:49:48 PST
Landed https://commits.webkit.org/247681@main (r290363)!
Comment 3 Radar WebKit Bug Importer 2022-02-23 03:50:17 PST
<rdar://problem/89348101>