This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients kj, miss-islington, pablogsal, serhiy.storchaka
Date 2021-07-04.18:05:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625421911.82.0.837434840903.issue44562@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2021-07-04 18:05:11pablogsalsetrecipients: + pablogsal, serhiy.storchaka, miss-islington, kj
2021-07-04 18:05:11pablogsalsetmessageid: <1625421911.82.0.837434840903.issue44562@roundup.psfhosted.org>
2021-07-04 18:05:11pablogsallinkissue44562 messages
2021-07-04 18:05:11pablogsalcreate