But real-world code is not obvious, here they explain why a worse hash function is better for CPython: http://mail.python.org/pipermail/python-3000/2007-September/010351.html Bye, bearophile