[Webkit-unassigned] [Bug 126323] New: Tools/gtk/generate-feature-defines-files doesn't work with older versions of python

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 30 21:13:07 PST 2013


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

           Summary: Tools/gtk/generate-feature-defines-files doesn't work
                    with older versions of python
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jeremyhu at apple.com


With Leopard's python (2.5.1), this script fails:

Tools/gtk/generate-feature-defines-files
Tools/gtk/generate-feature-defines-files:13: Warning: 'with' will become a reserved keyword in Python 2.6
  File "Tools/gtk/generate-feature-defines-files", line 13
    with open(feature_defines_overriding_file) as f:
            ^
SyntaxError: invalid syntax

This causes build failures down the line due to missing headers.  You should have this cause an error during configure.

-- 
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