"Alvin Delagon" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| Hello,
|
| >>> hash("foobar")
| -1969371895
|
| Anyone can explain to me how the hash() function in python does its work? 
A
| link to its source could help me a lot also. I'm looking for a way to
| replicate this function in php. Thanks in advance.

If not part of your installation, start with svn.python.org and click 
browse.  I would look for builtins.c or somesuch.



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to