Message411906
Yes, we should expose the tuple of variable names, both in Python and in the C-API.
Would something like
`PyCodeObject_GetVariableName()` and `PyCodeObject_GetVariableKind()` work?
In the meantime, since you were reading `co_varnames` directly, why not read `co_localsplusnames` directly?
OOI, how do you cope with non-local self? |
|
Date |
User |
Action |
Args |
2022-01-27 17:46:21 | Mark.Shannon | set | recipients:
+ Mark.Shannon, terry.reedy, vstinner, eric.snow, Henry Schreiner, pablogsal, Skylion007 |
2022-01-27 17:46:21 | Mark.Shannon | set | messageid: <1643305581.5.0.896445445533.issue46166@roundup.psfhosted.org> |
2022-01-27 17:46:21 | Mark.Shannon | link | issue46166 messages |
2022-01-27 17:46:21 | Mark.Shannon | create | |
|