Bug 237053 - Use python 3 f-strings in EWS - part 1
Summary: Use python 3 f-strings in EWS - part 1
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
Keywords: InRadar
Depends on:
Reported: 2022-02-22 13:13 PST by Aakash Jain
Modified: 2024-01-11 07:36 PST (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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