Refactor Objects/genobject.c to get rid of these hacks/issues:
- gen_close accesses instr_ptr - 1
- _PyGen_yf peeks into the execution stack
- Comparisons with enum values
- result arg reused in gen_send_ex2 for two different purposes (one of which is not the result)
Linked PRs
Reactions are currently unavailable
Refactor Objects/genobject.c to get rid of these hacks/issues:
Linked PRs