Hai Shi <[email protected]> added the comment:
> the simplest solution is calling `type_set_name`, even if that runs some > unnecessary checks. Hm, I haven't find any case who use dynamical tp_name of Type_Spec temporarily. If we meet this user case, Adding a new object pointer of type name in is an other option maybe:) ---------- nosy: +petr.viktorin, shihai1991 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue45315> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
