Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 42398f1

Browse files
author
Anselm Kruis
committed
Stackless issue #254: don't use deprecated flag Py_TPFLAGS_HAVE_FINALIZE
The flag is now deprecated and is not needed any longer.
1 parent 97af706 commit 42398f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Stackless/module/taskletobject.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,8 +2505,7 @@ PyTypeObject PyTasklet_Type = {
25052505
.tp_getattro = PyObject_GenericGetAttr,
25062506
.tp_setattro = PyObject_GenericSetAttr,
25072507
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC |
2508-
Py_TPFLAGS_BASETYPE |
2509-
Py_TPFLAGS_HAVE_FINALIZE,
2508+
Py_TPFLAGS_BASETYPE,
25102509
.tp_doc = tasklet__doc__,
25112510
.tp_traverse = (traverseproc)tasklet_traverse,
25122511
.tp_clear = (inquiry) tasklet_clear,

0 commit comments

Comments
 (0)