<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] webkit 2.3.5 build failure with python 3.3.4"
href="https://bugs.webkit.org/show_bug.cgi?id=128971#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] webkit 2.3.5 build failure with python 3.3.4"
href="https://bugs.webkit.org/show_bug.cgi?id=128971">bug 128971</a>
from <span class="vcard"><a class="email" href="mailto:berto@igalia.com" title="Alberto Garcia <berto@igalia.com>"> <span class="fn">Alberto Garcia</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=128971#c13">comment #13</a>)
<span class="quote">> It's because cssmin.py uses the following shebang:</span >
>
<span class="quote">> #!/usr/bin/python</span >
>
<span class="quote">> For about four years now, this has declared that the script will run
> correctly under both python2 and python3 [1], but our script is only
> compatible with python2.</span >
Is it really like that?
These work fine in my computer:
$ python2 --version
Python 2.7.10
$ python2 ./Source/WebInspectorUI/Scripts/cssmin.py < ./Source/WebCore/xml/XMLViewer.css > XMLViewer.min.css
$ python3 --version
Python 3.4.3+
$ python3 ./Source/WebInspectorUI/Scripts/cssmin.py < ./Source/WebCore/xml/XMLViewer.css > XMLViewer.min.css</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>