memory leak Py_initialize+Py_Finalize???

Michael Hudson mwh at python.net
Fri Jul 26 06:18:46 EDT 2002


siugarc at interserv.com.tw (¥ð¸¯º¸) writes:

> I call only Py_Initialize() and Py_Finalize() in VC.
> Many memory leaks are showed in BoundsChecker.

These are probably interned strings.  You can google for a deeper
explanation.

> If I call Py_Inisialize() and Py_Finalize() repeatedly, more memory
> leaks are made.  Who know if this is the bug of python?

What version?  I think various bugs of this kind were fixed for
... erm ... 2.1?  Certainly before 2.2.1, anyway.

Cheers,
M.

-- 
  SPIDER:  'Scuse me. [scuttles off]
  ZAPHOD:  One huge spider.
    FORD:  Polite though.
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 11



More information about the Python-list mailing list