Issue1305
Created on 2009-04-07.15:20:19 by nriley, last changed 2014-06-18.19:37:35 by zyasoft.
msg4463 (view) |
Author: Nicholas Riley (nriley) |
Date: 2009-04-07.15:20:18 |
|
def gen():
yield True
gen().next(1)
On CPython this gives "TypeError: expected 0 arguments, got 1".
On Jython, this gives "TypeError: next() takes exactly one argument (1 given)"
Note that this works fine with iterators, where Jython produces "TypeError: next():
expected 0 args; got 1".
|
msg4471 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2009-04-07.19:35:31 |
|
I remember seeing this before, it's a bug with in the error handling by
the exposed method handle. I think it's including self in the count
|
msg8515 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-05-22.00:09:02 |
|
Should fix for beta 4
|
|
Date |
User |
Action |
Args |
2014-06-18 19:37:35 | zyasoft | set | priority: low |
2014-05-22 00:09:02 | zyasoft | set | resolution: accepted messages:
+ msg8515 nosy:
+ zyasoft |
2013-02-19 18:21:41 | fwierzbicki | set | versions:
+ Jython 2.5, Jython 2.7 |
2009-08-09 02:37:26 | fwierzbicki | set | nosy:
+ fwierzbicki |
2009-04-07 19:35:31 | pjenvey | set | nosy:
+ pjenvey messages:
+ msg4471 |
2009-04-07 15:20:19 | nriley | create | |
|