[Webkit-unassigned] [Bug 190258] Gtk build fails with python 3 if LANG and LC_TYPE are unset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 18:21:09 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=190258

--- Comment #4 from Mike Gorse <mgorse at suse.com> ---
(In reply to Konstantin Tokarev from comment #3)
> Comment on attachment 351542 [details]
> Proposed patch.
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=351542&action=review
> 
> > Source/JavaScriptCore/Scripts/cssmin.py:51
> > +        sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='UTF-8')
> 
> These lines duplicate code above

I think you're referring to this line:
         sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='UTF-8')
My patch adds similar handling for sys.stdout.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181004/bff5e107/attachment-0001.html>


More information about the webkit-unassigned mailing list