[Xcb] [Bug 36188] New: Does not support building library with Python 3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 12 15:01:55 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36188

           Summary: Does not support building library with Python 3
           Product: XCB
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Misc
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: dcoles at gaikai.com
         QAContact: xcb at lists.freedesktop.org


The current build scripts for XCB have some incompatibilities with the Python 3
series that prevent them from running correctly.

Most of the fixes are minor language changes (such as exception syntax or
certain functions returning generators rather than lists) or issues with
relative imports (In Python 3 relative imports must be explicit and it is
stricter about circular imports).

The following two patches add support for Python 3. The changes to c_client.py
require bumping the minimum Python version to 2.6 to support the new exception
syntax.

PATCH: "Use absolute imports in xcbgen for Python 3 compatibility"
http://lists.freedesktop.org/archives/xcb/2011-April/006948.html

PATCH: "Add support for building with Python 3"
http://lists.freedesktop.org/archives/xcb/2011-April/006948.html

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


More information about the Xcb mailing list