New submission from pdox <p...@alum.mit.edu>:

This is a refactor to move all the code involved in entering a frame (making it 
the active frame for the current tstate) and leaving a frame (removing it as an 
active frame, possibly destructing it or making it GC tracked) into private 
functions in frameobject.c.

The underlying goal of this change is to make it possible to add (as a 
performance feature) stack-allocated frames, in addition to the usual 
heap-allocated ones.

----------
components: Interpreter Core
messages: 305408
nosy: pdox
priority: normal
severity: normal
status: open
title: Bring together logic for entering/leaving a frame in frameobject.c
type: performance
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31921>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to