mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Reify lazy objects when accessed via the module object
This commit is contained in:
parent
058bc6e884
commit
6d7c87a3fe
6 changed files with 101 additions and 12 deletions
|
|
@ -24,6 +24,8 @@ typedef struct {
|
|||
PyObject *md_weaklist;
|
||||
// for logging purposes after md_dict is cleared
|
||||
PyObject *md_name;
|
||||
// module version we last checked for lazy values
|
||||
uint32_t m_dict_version;
|
||||
#ifdef Py_GIL_DISABLED
|
||||
void *md_gil;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue