[issue3667] Reloading an extension module always leaks

2008-09-03 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66204. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3667] Reloading an extension module always leaks

2008-09-03 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: The patch looks good. Benjamin will commit this. -- assignee: loewis -> benjamin.peterson nosy: +barry, benjamin.peterson resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]>

[issue3667] Reloading an extension module always leaks

2008-08-30 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python

[issue3667] Reloading an extension module always leaks

2008-08-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The fix is actually simple: _PyImport_FindExtension() used to return a borrowed reference, the "strong" reference being stored in the PyImport_GetModuleDict() dictionary. All paths should behave the same. See attached patch. (for unit

[issue3667] Reloading an extension module always leaks

2008-08-24 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: With python2.6, reloading extension modules does not always leak memory: Python 2.6b2+ (trunk, Aug 19 2008, 23:45:24) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> impo