Python byte-compiled files

Alan Coopersmith alan.coopersmith at oracle.com
Sat Mar 23 18:02:33 UTC 2024


On 3/23/24 09:24, tlaronde at kergis.com wrote:
> Furthermore, for example for xcb-proto, the python interface is one
> interface, but it is not mandatory (there is the primary C interface).

The python files in xcb-proto are not an alternative to the C interface
provided in libxcb - they're the mechanism used to generate the C code
for libxcb from the XML protocol descriptions in xcb-proto.  They're only
used to build libxcb, not at runtime by applications/clients.

The python alternative API to libxcb was xpyb, but it's long been abandoned:
https://gitlab.freedesktop.org/xorg/lib/xpyb/
and points to https://github.com/tych0/xcffib as a replacement now.

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris



More information about the xorg-devel mailing list