[issue14435] Remove special block allocation from floatobject.c

Antoine Pitrou report at bugs.python.org
Thu Mar 29 19:09:55 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Yes, it is supposed to, but no one is actually looking at that value.
> It was used in debugging information during PyFloat_Fini() which is no
> longer relevant if this block information is removed.

Still, let's honour the API rather than break it.

> Here's a thought:  I think using the linked list approach using
> Py_TYPE() is rather neat.  Other freelists are mostly implemented
> using static arrays of pointers.  Any thoughts on this?  We could
> unify the approach taken.

I don't have any preference either way, but I see little point in
unifying the approach, since no common code is shared.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14435>
_______________________________________


More information about the Python-bugs-list mailing list