Armin Rigo <[email protected]> added the comment:

This was not the case in "my" version of greenlet, and it must have been added
later.  The arguments to switch() are sent either to the starting function if
the greenlet was not started yet, or as the return value of another switch() if
it was started already.  I guess it only makes sense to pass **kwargs when we're
in the first case?  Indeed, how would a function call return some keyword
arguments?  (It's already a bit of a hack because if there are more than one
*args then a tuple is returned.)

----------
nosy: +arigo

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1521>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to