[ldns-users] pyLDNS -- added rich comparison methods

Willem Toorop willem at nlnetlabs.nl
Tue Sep 4 07:44:13 UTC 2012


Thanks Karel! Very good. Committed.
-- Willem

Op 03-09-12 15:20, Karel Slany schreef:
> Hello,
> 
> I've added the support for Python's rich comparison methods into
> ldns_dname, ldns_rdf, ldns_rr and ldns_rr_list classes. These are
> necessary for the proper function of binary comparison operators (<, ==,
> ...) in Python 3, because the __cmp__() special method isn't supported
> in Python 3.
> 
> Also, please, run the command:
> 
> chmod +x trunk/contrib/python/examples/test_rr.py
> 
> The script should be marked as executable in order to be properly
> executed as the 'test' target from trunk/contrib/python/Makefile (the
> development Makefile of pyLDNS). Thanks.
> 
> Best regards,
> K.
> 
> 
> 
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> 




More information about the ldns-users mailing list