[pypy-svn] r77637 - pypy/branch/fast-forward/lib_pypy

afa at codespeak.net afa at codespeak.net
Wed Oct 6 00:13:40 CEST 2010


Author: afa
Date: Wed Oct  6 00:13:39 2010
New Revision: 77637

Modified:
   pypy/branch/fast-forward/lib_pypy/hashlib.py
Log:
hashlib.algorithms should be a tuple


Modified: pypy/branch/fast-forward/lib_pypy/hashlib.py
==============================================================================
--- pypy/branch/fast-forward/lib_pypy/hashlib.py	(original)
+++ pypy/branch/fast-forward/lib_pypy/hashlib.py	Wed Oct  6 00:13:39 2010
@@ -108,7 +108,7 @@
 
 new = __hash_new
 
-algorithms = ['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
+algorithms = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
 
 def __getfunc(name):
     def new(string=''):



More information about the Pypy-commit mailing list