Carl Friedrich Bolz <[email protected]> added the comment: FWIW, this kind of code passes nowadays, so I am closing this issue:
import pickle import stackless h = None main_coro = stackless.coroutine.getcurrent() def f(): g() global h new_coro = stackless.coroutine() new_coro.bind(lambda x: x, 5) h = pickle.dumps(new_coro) def g(): main_coro.switch() user_coro = stackless.coroutine() user_coro.bind(f) user_coro.switch() user_coro.switch() pickle.loads(h) ---------- nosy: +cfbolz status: unread -> resolved ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue689> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
