[pypy-commit] pypy raw-memory-pressure-nursery: fix another obvious typo, why those tests run so long
fijal
noreply at buildbot.pypy.org
Wed Feb 15 17:32:14 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: raw-memory-pressure-nursery
Changeset: r52515:2f60c9f828db
Date: 2012-02-15 18:31 +0200
http://bitbucket.org/pypy/pypy/changeset/2f60c9f828db/
Log: fix another obvious typo, why those tests run so long
diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/interp_hashlib.py
--- a/pypy/module/_hashlib/interp_hashlib.py
+++ b/pypy/module/_hashlib/interp_hashlib.py
@@ -23,10 +23,10 @@
ctx = lltype.nullptr(ropenssl.EVP_MD_CTX.TO)
def __init__(self, space, name):
+ self.name = name
digest_type = self.digest_type_by_name(space)
self.digest_size = rffi.getintfield(digest_type, 'c_md_size')
rgc.add_memory_pressure(self, HASH_MALLOC_SIZE + self.digest_size)
- self.name = name
# Allocate a lock for each HASH object.
# An optimization would be to not release the GIL on small requests,
More information about the pypy-commit
mailing list