Hai Shi <shihai1...@126.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45315>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to