Message 320036 - Python tracker

Message320036

Author Eric.Wieser
Recipients Eric.Wieser, docs@python
Date 2018-06-20.08:23:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529483004.36.0.56676864532.issue33909@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 442 states that:

> Two new C API functions are provided to ease calling of tp_finalize, especially from custom deallocators.

But it does not give the names of these functions, nor do any python docs I can discover.

From grepping for tp_finalize, it seems the functions in question are:

- PyObject_CallFinalizerFromDealloc 
- PyObject_CallFinalizer

It would be great if these could be documented, and perhaps even an example given of when it's appropriate to call each one.
History
Date User Action Args
2018-06-20 08:23:24Eric.Wiesersetrecipients: + Eric.Wieser, docs@python
2018-06-20 08:23:24Eric.Wiesersetmessageid: <1529483004.36.0.56676864532.issue33909@psf.upfronthosting.co.za>
2018-06-20 08:23:24Eric.Wieserlinkissue33909 messages
2018-06-20 08:23:24Eric.Wiesercreate