RESOLVED FIXED 180592
[python] Replace print operator with print() function for python3 compatibility
https://bugs.webkit.org/show_bug.cgi?id=180592
Summary [python] Replace print operator with print() function for python3 compatibility
Konstantin Tokarev
Reported 2017-12-08 11:36:16 PST
Python 2 will be EOL in 2020: https://pythonclock.org/ Let's try to adjust code base to be compatible with Python 3, in small steps. The most abundant anti-pattern is use of "print" statement, which is replaced with print() function in py3. This patch contains only trivial changes which don't require "from __future__ import print_function".
Attachments
Patch (85.91 KB, patch)
2017-12-08 11:40 PST, Konstantin Tokarev
no flags
Konstantin Tokarev
Comment 1 2017-12-08 11:40:38 PST
EWS Watchlist
Comment 2 2017-12-08 11:42:52 PST
This patch modifies the inspector protocol generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-inspector-generator-tests --reset-results`)
WebKit Commit Bot
Comment 3 2017-12-08 13:56:13 PST
Comment on attachment 328845 [details] Patch Clearing flags on attachment: 328845 Committed r225698: <https://trac.webkit.org/changeset/225698>
WebKit Commit Bot
Comment 4 2017-12-08 13:56:15 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2017-12-08 13:57:36 PST
Note You need to log in before you can comment on or make changes to this bug.