Author: Armin Rigo <[email protected]>
Branch: py3k
Changeset: r87431:fcb7b33d25c5
Date: 2016-09-28 10:56 +0200
http://bitbucket.org/pypy/pypy/changeset/fcb7b33d25c5/
Log: quick untested fix
diff --git a/lib_pypy/stackless.py b/lib_pypy/stackless.py
--- a/lib_pypy/stackless.py
+++ b/lib_pypy/stackless.py
@@ -535,7 +535,7 @@
_main_tasklet = coroutine.getcurrent()
_main_tasklet.__class__ = tasklet # XXX HAAAAAAAAAAAAAAAAAAAAACK
_last_task = _main_tasklet
- tasklet._init.__func__(_main_tasklet, label='main')
+ tasklet._init(_main_tasklet, label='main')
_squeue = deque()
_scheduler_append(_main_tasklet)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit