Changing Hash Values Across Versions

Phil Thompson phil at riverbankcomputing.com
Thu Jun 11 12:56:17 EDT 2009


How stable should the implementation of, for example, a string's hash
across different Python versions?

Is it defined that hash("foo") will return the same value for Python 2.5.1,
2.6.1 and 2.6.2?

Thanks,
Phil



More information about the Python-list mailing list