Message152207
The division of responsibilities between generator objects and the eval loop is currently a little messy. The eval loop deals almost entirely with frame objects and also handles swapping exception states around on behalf of generators, which is why the generator specific exception state currently lives on frame objects (i.e. to avoid the eval loop needing to know too much about the internal structure of generator objects).
Before generator related state can reasonably be moved out of the frame objects, those responsibilities should be divided more cleanly. Ron Adam has made an initially attempt at tackling that problem in issue 13607.
Once the responsibilities are divided appropriately, *then* we can look at the fields that ceval no longer touches and see if they should be moved somewhere else (whether that's directly into the generator struct or into a new struct referenced from the generator struct). |
|
Date |
User |
Action |
Args |
2012-01-29 02:00:26 | ncoghlan | set | recipients:
+ ncoghlan, amaury.forgeotdarc, ron_adam, benjamin.peterson, Mark.Shannon |
2012-01-29 02:00:25 | ncoghlan | set | messageid: <1327802425.89.0.202313759093.issue13897@psf.upfronthosting.co.za> |
2012-01-29 02:00:25 | ncoghlan | link | issue13897 messages |
2012-01-29 02:00:23 | ncoghlan | create | |
|