Message411908
In addition to what Mark said, note that co_varnames get's populated lazily by the Python-level getter for code.co_varnames. So could you call the Python function before entering the hot path?
Regardless, a dedicated C-API for this like Mark suggested would be the better solution. |
|
Date |
User |
Action |
Args |
2022-01-27 17:53:31 | eric.snow | set | recipients:
+ eric.snow, terry.reedy, vstinner, Mark.Shannon, Henry Schreiner, pablogsal, Skylion007 |
2022-01-27 17:53:31 | eric.snow | set | messageid: <1643306011.26.0.250997037663.issue46166@roundup.psfhosted.org> |
2022-01-27 17:53:31 | eric.snow | link | issue46166 messages |
2022-01-27 17:53:31 | eric.snow | create | |
|