Bug 237053
| Summary: | Use python 3 f-strings in EWS - part 1 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> |
| Component: | Tools / Tests | Assignee: | 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 | ||
Aakash Jain
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Aakash Jain
Pull request: https://github.com/WebKit/WebKit/pull/166
Aakash Jain
Landed https://commits.webkit.org/247681@main (r290363)!
Radar WebKit Bug Importer
<rdar://problem/89348101>