mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix private name mangling. The symtable also must do mangles so that
the scope of names can be correctly determined.
This commit is contained in:
parent
3a44aaa30f
commit
8b528b28f1
3 changed files with 47 additions and 19 deletions
|
@ -17,7 +17,7 @@ struct symtable {
|
|||
PyObject *st_stack; /* stack of namespace info */
|
||||
PyObject *st_global; /* borrowed ref to MODULE in st_symbols */
|
||||
int st_nblocks; /* number of blocks */
|
||||
char *st_private; /* name of current class or NULL */
|
||||
PyObject *st_private; /* name of current class or NULL */
|
||||
int st_tmpname; /* temporary name counter */
|
||||
PyFutureFeatures *st_future; /* module's future features */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue