mirror of
https://github.com/python/cpython.git
synced 2026-01-07 07:52:29 +00:00
When I added the relevant condition to type_ready_set_bases() in gh-103912, I had missed that the function also sets tp_base and ob_type (if necessary). That led to problems for third-party static types.
We fix that here, by making those extra operations distinct and by adjusting the condition to be more specific.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| check_config.py | ||
| test_codecs.py | ||
| test_eval_code_ex.py | ||
| test_exceptions.py | ||
| test_getargs.py | ||
| test_immortal.py | ||
| test_long.py | ||
| test_mem.py | ||
| test_misc.py | ||
| test_structmembers.py | ||
| test_unicode.py | ||
| test_watchers.py | ||