[Webkit-unassigned] [Bug 71723] New: Change /usr/bin/python to /usr/bin/python2 in python scripts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 7 12:56:25 PST 2011


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

           Summary: Change /usr/bin/python to /usr/bin/python2 in python
                    scripts
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: antognolli at profusion.mobi


Many python scripts are written for use with python2, but they have
 #!/usr/bin/python

in the beginning of the script. For instance, the script WebKit/Source/WebCore/inspector/CodeGeneratorInspector.py has this problem. But in some linux distributions, /usr/bin/python already points to python 3 instead of python 2, thus the script is incompatible.

There are some discussions already about making it a standard to have /usr/bin/python2 in the system, like here: http://mail.python.org/pipermail/python-dev/2011-March/108571.html

So, could we make this change on our scripts? (I can file a patch making that sed if people agree)

Regards,
Rafael

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list