This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年07月08日 11:02 by xdegaye, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg222556 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2014年07月08日 11:01 | |
The Py_XDECREF statement in gen_iternext() at Objects/genobject.c is not needed since val is NULL (may be optimized out by the compiler). Actually, the whole function could be written as: return gen_send_ex(gen, NULL, 0); |
|||
| msg222586 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年07月08日 22:43 | |
New changeset 5cfa919609a0 by Antoine Pitrou in branch 'default': Issue #21938: simplify gen_iternext() http://hg.python.org/cpython/rev/5cfa919609a0 |
|||
| msg222587 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2014年07月08日 22:44 | |
Good point, thanks :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:05 | admin | set | github: 66137 |
| 2014年07月08日 22:44:41 | pitrou | set | status: open -> closed nosy: + pitrou messages: + msg222587 resolution: fixed stage: resolved |
| 2014年07月08日 22:43:55 | python-dev | set | nosy:
+ python-dev messages: + msg222586 |
| 2014年07月08日 11:02:00 | xdegaye | create | |