-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Studying a bug in a durus program (I still haven't found if the issue is in my code or in durus one; still investigating) I see the following code in durus.btree inside the "delete" implementation: """ def is_big(node): # Precondition for recursively calling node.delete(key). return node and len(node.items) >= self.minimum_degree .... def is_big(n): return n and len(n.items) >= n.minimum_degree """ That is, inside "delete" we define "is_big()" function TWO TIMES. Fortunately both implementations are equivalents, so no problem, But I rather prefer to see the redundant code deleted, since a future durus version could change one of them and not the other and hell would break loose. Thanks. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKFNj5lgi5GaxT1NAQJUcAQAoAtBfzeECfSKyST1+CDqSGQW/OFXRdPL dLsHBzz1IzrYket+uxC+p/JPLP8hQEHjWUzIPo9GcD7WdYscZ318XuxJbCGcb78l 52MVqSkiSlp0zBsYzlzFmNEMkXSrP97BAJWJJdyLX/uLFqFXmbJ0j2xVY8Kvz5zR NWvglPwLYsA= =LyLS -----END PGP SIGNATURE-----