On Thu, 15 Oct 2009, David Malcolm wrote:

On Python 3, use macros to alias all usage of PyInt_ to PyLong_ equivalents,
as the former no longer exists.

Right, simply aliasing to PyLong is probably quite ok.


Likewise, the "cmpfunc" typedef no longer exists; introduce a dummy definition
to enable our code to compile

...but this is not really :) We'll need to convert the tp_compare cases to tp_richcompare, AFAICT Python handles this compatibly in 2.x so it shouldn't be a big deal.

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

Reply via email to