On Thu, 15 Oct 2009, David Malcolm wrote:

RPM header data is in binary format; use the PyBytes_ API for it,
rather than PyString (which went away in Python 3)

On Python 2.6, these are macro aliases for the PyString_ API
On Python 3, these are references to the bytesobject.h class

Seems safe & sane, I went ahead and changed the whole PyString -> PyBytes lot in one go and provided compat macros for Python < 2.6.

        - Panu -
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to