Hai Shi <shihai1...@126.com> added the comment:

> In _PyStructSequence_InitType, it will check type is initialized.
  It's a internal C API :)

> when type already been initialized, should return 0 rather than throw 
> exception.
  The another solution is to check the type status before calling 
_PyStructSequence_InitType().

----------
nosy: +shihai1991

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44532>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to