> So far, my second go-round is proceeding better (fingers crossed). I
> have added a new slot to the _frame struct (f_cellvars), initialized
> once at creation, then referenced elsewhere. I'm also rerunning the
> test suite more frequently. Once I've tweaked everything, all that
> will remain (in theory) to effect my change is to tweak the
> initialization of f_valuestack and f_cellvars. (If an extra slot is
> determined to be too space-expensive, a macro or inline function would
> suffice.)

Found and fixed the last holdout (a SETLOCAL call in ceval.c). For the
curious, I've pushed the change to my fork:

https://github.com/smontanaro/cpython/commit/318f16ff76e91e665b779e3b478a4406d0a9c0ec

As I expected, almost all the changes were in frameobject.c. The other
changes were mostly just to remove no longer needed pointer
arithmetic.

Skip
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/US7OA44U7I6VTOZHUPCAKSXENLP4KJD3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to