[Python-Dev] porting pycxx and pysvn to python 3.0 hit a problem

"Martin v. Löwis" martin at v.loewis.de
Wed Oct 8 00:31:40 CEST 2008


> In V3 is it your intention that to be a key you must implement
> tp_hash and tp_richcompare? If not I'll raise a bug against
> 3.0 on this issue.

I believe that cmp/tp_compare are being phased out, although
I think there was a heavy debate about this.

In any case, I think you really need to implement tp_richcompare.

Regards,
Martin


More information about the Python-Dev mailing list