[pypy-svn] r56141 - pypy/branch/async-del/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Fri Jun 27 21:13:18 CEST 2008
Author: arigo
Date: Fri Jun 27 21:13:15 2008
New Revision: 56141
Modified:
pypy/branch/async-del/pypy/interpreter/executioncontext.py
Log:
Translation fix.
Modified: pypy/branch/async-del/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/branch/async-del/pypy/interpreter/executioncontext.py (original)
+++ pypy/branch/async-del/pypy/interpreter/executioncontext.py Fri Jun 27 21:13:15 2008
@@ -268,7 +268,7 @@
def register_action(self, action):
"NOT_RPYTHON"
assert isinstance(action, AsyncAction)
- if action.bitmask == 'auto':
+ if action.bitmask == 0:
while True:
action.bitmask = self.unused_bits.pop(0)
if not (action.bitmask & self.interesting_bits):
@@ -358,7 +358,7 @@
asynchronously with regular bytecode execution, but that still need
to occur between two opcodes, not at a completely random time.
"""
- bitmask = 'auto'
+ bitmask = 0 # means 'please choose one bit automatically'
def __init__(self, space):
self.space = space
More information about the Pypy-commit
mailing list