Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> But is alias->origin initialized to safely call Py_XDECREF(alias->origin)?

Why would that be unsafe? PyType_GenericAlloc sets all fields to NULL so that 
is going to either be NULL or have an object, no? setup_ga only sets 
alias->origin if there has been no failures

----------

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

Reply via email to