classification
Title: Py_tp_finalize is missing
Type: Stage: resolved
Components: Extension Modules, Interpreter Core Versions: Python 3.6, Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: petr.viktorin, python-dev
Priority: normal Keywords: patch

Created on 2015-06-01 13:41 by petr.viktorin, last changed 2015-06-01 15:14 by python-dev. This issue is now closed.

Files
File name Uploaded Description Edit
add-py-tp-finalize.patch petr.viktorin, 2015-06-01 13:41 review
Messages (2)
msg244581 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2015-06-01 13:41
PEP 442 added the tp_finalize member for objects, but there's no corresponding Py_tp_finalize slot. This means that types defined using PyType_FromSpec (and in particular, extensions using the stable ABI) can't take advantage of the new GC finalization mechanism.
msg244591 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-06-01 15:14
New changeset 5a354de919aa by Benjamin Peterson in branch '3.5':
add Py_tp_finalize slot (closes #24345)
https://hg.python.org/cpython/rev/5a354de919aa

New changeset 959e998aa167 by Benjamin Peterson in branch 'default':
merge 3.5 (#24345)
https://hg.python.org/cpython/rev/959e998aa167
History
Date User Action Args
2015-06-01 15:14:43python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg244591

resolution: fixed
stage: resolved
2015-06-01 13:41:14petr.viktorincreate