コード例 #1
0
ファイル: rclass.py プロジェクト: antoine1fr/pygirl
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached
コード例 #2
0
ファイル: llinterp.py プロジェクト: chyyuu/pygirl
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
コード例 #3
0
ファイル: llinterp.py プロジェクト: TheDunn/flex-pypy
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
コード例 #4
0
ファイル: rclass.py プロジェクト: chyyuu/pygirl
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached