You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5882c6
Browse filesBrowse the repository at this point in the historyBrowse files
[3.15] gh-160840: In PyType_GetModuleByToken, fall back to tp_bases if tp_mro is gone (GH-162160) (GH-162755)
gh-160840: In PyType_GetModuleByToken, fall back to tp_bases if tp_mro is gone (GH-162160)
`PyType_GetModuleByToken` asserted that a type's `mro` is not NULL,
but this can happen when cleaning a GC cycle. If it does, we can
still fall back to walking `tp_bases`.
(cherry picked from commit 4499a94)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
0 commit comments