Author: Raffael Tfirst <[email protected]>
Branch: py3.5-async
Changeset: r85973:55d7fbdc81b4
Date: 2016-08-01 22:21 +0200
http://bitbucket.org/pypy/pypy/changeset/55d7fbdc81b4/
Log: Add note for dirty fix
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1443,7 +1443,7 @@
def GET_AWAITABLE(self, oparg, next_instr):
from pypy.objspace.std.noneobject import W_NoneObject
if isinstance(self.peekvalue(), W_NoneObject):
- #switch NoneObject with iterable on stack
+ #switch NoneObject with iterable on stack (kind of a dirty fix)
w_firstnone = self.popvalue()
w_i = self.popvalue()
self.pushvalue(w_firstnone)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit