mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
* Extended X interface: pixmap objects, colormap objects visual objects,
image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
This commit is contained in:
parent
35fe6ec4cf
commit
a9c3c22c33
12 changed files with 150 additions and 18 deletions
|
@ -417,12 +417,20 @@ cleanup()
|
|||
flushline();
|
||||
}
|
||||
|
||||
#ifdef COUNT_ALLOCS
|
||||
extern void dump_counts PROTO((void));
|
||||
#endif
|
||||
|
||||
void
|
||||
goaway(sts)
|
||||
int sts;
|
||||
{
|
||||
cleanup();
|
||||
|
||||
#ifdef COUNT_ALLOCS
|
||||
dump_counts();
|
||||
#endif
|
||||
|
||||
#ifdef USE_THREAD
|
||||
|
||||
/* Other threads may still be active, so skip most of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue