Message280762
Oops, I forgot to mention one other potential cost-minimisation strategy for a `co_cleanuptab` field: only populate it with setup/cleanup opcode pairs that include a yield, yield from, or await operation between them.
The potential benefit I can see to *not* doing that is that if the information is always available (even on synchronous frames), then greenlet based frameworks like gevent may be able to make use of it. |
|
Date |
User |
Action |
Args |
2016-11-14 12:16:23 | ncoghlan | set | recipients:
+ ncoghlan, vstinner, njs, martin.panter, yselivanov |
2016-11-14 12:16:23 | ncoghlan | set | messageid: <1479125783.11.0.560804320887.issue28629@psf.upfronthosting.co.za> |
2016-11-14 12:16:23 | ncoghlan | link | issue28629 messages |
2016-11-14 12:16:22 | ncoghlan | create | |
|