Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
> And is is correct to call deallocator for not initialized GenericAlias object? The correct thing to do is to call Py_DECREF so the object is properly unlinked and the other potential cleanups work. Calling the deallocator directly is almost always dangerous. ---------- _______________________________________ 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