Summary: | [GTK] Make Tools/gtk/generate-gtkdoc compatible with Python 3 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||||
Component: | New Bugs | Assignee: | Zan Dobersek <zan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | pnormand | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Zan Dobersek
2013-01-06 12:12:44 PST
Created attachment 181463 [details]
Patch
Comment on attachment 181463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181463&action=review > Tools/gtk/gtkdoc.py:188 > + stdout, stderr = map(lambda b: b.decode("utf-8"), process.communicate()) Wouldn't a list comprehension work here? I find those easier to deal with than map/lambda Created attachment 181538 [details]
Patch
(In reply to comment #2) > (From update of attachment 181463 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=181463&action=review > > > Tools/gtk/gtkdoc.py:188 > > + stdout, stderr = map(lambda b: b.decode("utf-8"), process.communicate()) > > Wouldn't a list comprehension work here? I find those easier to deal with than map/lambda You're right, that approach is clearer. Comment on attachment 181538 [details] Patch Clearing flags on attachment: 181538 Committed r139048: <http://trac.webkit.org/changeset/139048> All reviewed patches have been landed. Closing bug. |