RESOLVED FIXED 114717
Web Inspector: make generate-inspector-protocol-version work with python3
https://bugs.webkit.org/show_bug.cgi?id=114717
Summary Web Inspector: make generate-inspector-protocol-version work with python3
Sergio Correia (qrwteyrutiyoup)
Reported 2013-04-16 18:14:02 PDT
Web Inspector: make generate-inspector-protocol-version work with python3
Attachments
Patch (1.88 KB, patch)
2013-04-16 18:15 PDT, Sergio Correia (qrwteyrutiyoup)
no flags
Patch (1.88 KB, patch)
2013-04-16 19:29 PDT, Sergio Correia (qrwteyrutiyoup)
no flags
Sergio Correia (qrwteyrutiyoup)
Comment 1 2013-04-16 18:15:28 PDT
Created attachment 198456 [details] Patch Proposed patch
Joseph Pecoraro
Comment 2 2013-04-16 18:54:54 PDT
Comment on attachment 198456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=198456&action=review Looks good. Just get that typo in the ChangeLog fixed if possible! > Source/WebCore/ChangeLog:10 > + to the sys.stderr.write() ones already used througout the file. Typo: "througout" => "throughout"
Sergio Correia (qrwteyrutiyoup)
Comment 3 2013-04-16 19:29:59 PDT
Created attachment 198459 [details] Patch Typo fixed in changelog and commit message.
Timothy Hatcher
Comment 4 2013-04-17 12:34:25 PDT
Comment on attachment 198459 [details] Patch I assume this works with older python versions still?
Sergio Correia (qrwteyrutiyoup)
Comment 5 2013-04-17 12:42:17 PDT
(In reply to comment #4) > (From update of attachment 198459 [details]) > I assume this works with older python versions still? Yup, it keeps working with python2 as expected, since that is what is officially supported. I had some odd setup in here when it crashed on me, and since I saw revision https://bugs.webkit.org/show_bug.cgi?id=106194, I thought to keep it working with python3, assuming someone uses it somehow. All in all, this patch merely makes the file more consistent, since we already have sys.stderr.write, and now sys.stdout.write too.
Timothy Hatcher
Comment 6 2013-04-17 12:43:25 PDT
Comment on attachment 198459 [details] Patch Thanks!
WebKit Commit Bot
Comment 7 2013-04-17 13:13:15 PDT
Comment on attachment 198459 [details] Patch Clearing flags on attachment: 198459 Committed r148630: <http://trac.webkit.org/changeset/148630>
WebKit Commit Bot
Comment 8 2013-04-17 13:13:17 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.