Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
1 deletion.
-
+1
−1
topaz/objects/threadobject.py
|
@@ -37,7 +37,7 @@ def method_recursion_guard(self, space, w_identifier, w_obj, block): |
|
|
It is up to the block to decide what to do in either case. |
|
|
""" |
|
|
ec = space.getexecutioncontext() |
|
|
identifier = space.str_w(w_identifier) |
|
|
identifier = space.symbol_w(w_identifier) |
|
|
with ec.recursion_guard(identifier, w_obj) as in_recursion: |
|
|
if not in_recursion: |
|
|
space.invoke_block(block, []) |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.