What is PyInt_Fini?
Tim Peters
tim.one at comcast.net
Tue Mar 18 13:57:00 EST 2003
[Lexy Zhitenev]
> All I have found out it is something from C part of Python API and it is
> from Stackless.
>
> Actually I don't need detailed specifications, it's just curiosity. If the
> answer can't be short please mail me or give a link.
It's one of many "fini" routines called by Py_Finalize(), which shuts down
an interpreter. PyInt_Fini releases storage that was allocated for Python
integer objects. If you run Python with the -v flag, PyInt_Fini() is what
prints the line like this as you exit the interpreter:
# cleanup ints: 4 unfreed ints in 4 out of 108 blocks
For more, read the source code.
More information about the Python-list
mailing list