
Sept. 1, 2021
4:06 p.m.
I saw Python projects injecting fake frames for XML and JSON parsers, maybe also configuration file (.ini?) parsers. So text files which have line numbers ;-) On Wed, Sep 1, 2021 at 7:33 PM Pablo Galindo Salgado <pablogsal@gmail.com> wrote:
I don't think we should think on those terms. We certainly don't want to be on a case where yet again we cannot change the internals because we have an official C-API exposed.
PyCode_New() is annoying since it requires to provide *all* arguments. I'm thinking of an Frame API which only allows to set 2 values: filename and line number. Nothing else. Something like: frame = PyFrame_New(filename, lineno). Victor -- Night gathers, and now my watch begins. It shall not end until my death.