[Python-checkins] CVS: python/dist/src/Objects intobject.c

Guido van Rossum guido@cnri.reston.va.us
Fri, 19 Mar 1999 15:30:41 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Objects
In directory eric:/projects/python/develop/guido/src/Objects

Modified Files:
Log Message:
Fix a problem with Vladimir's PyInt_Fini code: clear the free list; if
a block cannot be freed, add its free items back to the free list, and
add its valid ints back to the small_ints array if they are in range.
This is necessary to avoid leaking when Python is reinitialized later.