[pypy-commit] pypy default: merged upstream
alex_gaynor
noreply at buildbot.pypy.org
Sat Sep 3 17:24:38 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r47048:6dad1c11da53
Date: 2011-09-03 11:24 -0400
http://bitbucket.org/pypy/pypy/changeset/6dad1c11da53/
Log: merged upstream
diff --git a/pypy/module/_continuation/interp_continuation.py b/pypy/module/_continuation/interp_continuation.py
--- a/pypy/module/_continuation/interp_continuation.py
+++ b/pypy/module/_continuation/interp_continuation.py
@@ -43,11 +43,11 @@
def switch(self, w_to):
to = self.space.interp_w(W_Continulet, w_to, can_be_None=True)
if to is not None:
- if self is to: # double-switch to myself: no-op
- return get_result()
if to.sthread is None:
start_state.clear()
raise geterror(self.space, "continulet not initialized yet")
+ if self is to: # double-switch to myself: no-op
+ return get_result()
if self.sthread is None:
start_state.clear()
raise geterror(self.space, "continulet not initialized yet")
More information about the pypy-commit
mailing list