[issue4202] Multiple interpreters and readline module hook functions.

2012-10-26 Thread Winston451
Changes by Winston451 : Removed file: http://bugs.python.org/file27725/readline.patch ___ Python tracker <http://bugs.python.org/issue4202> ___ ___ Python-bugs-list mailin

[issue4202] Multiple interpreters and readline module hook functions.

2012-10-26 Thread Winston451
Changes by Winston451 : Added file: http://bugs.python.org/file27727/readline.patch ___ Python tracker <http://bugs.python.org/issue4202> ___ ___ Python-bugs-list mailin

[issue4202] Multiple interpreters and readline module hook functions.

2012-10-26 Thread Winston451
Changes by Winston451 : -- type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/iss

[issue4202] Multiple interpreters and readline module hook functions.

2012-10-26 Thread Winston451
Winston451 added the comment: I attached a patch that solve the problem -- keywords: +patch Added file: http://bugs.python.org/file27725/readline.patch ___ Python tracker <http://bugs.python.org/issue4

[issue4202] Multiple interpreters and readline module hook functions.

2012-10-25 Thread Winston451
Winston451 added the comment: Hi, I'm currently developping an application which runs sub interpreters in threads (one sub interpreter per thread). When I try to use readline completion in these sub interpreters it fails because it's not possible to import the "

[issue9422] Memory leak when reinitializing a Struct object

2010-07-29 Thread Winston451
Winston451 added the comment: BTW, I am really amazed by your reactivity. I submitted a bug report at 22:33 and one hour later it's fixed. It's really great! Keep up the good work! :) -- ___ Python tracker <http://bugs.python.

[issue9422] Memory leak when reinitializing a Struct object

2010-07-29 Thread Winston451
Winston451 added the comment: I was just looking at the code of the struct when i saw this problem. Personnally I have never had to reinitialize a Struct object but Python allows it so... -- ___ Python tracker <http://bugs.python.org/issue9

[issue9422] Memory leak when reinitializing a Struct object

2010-07-29 Thread Winston451
Winston451 added the comment: I don't think that the weakreflist should be cleared. After all the object is just reinitialized not destructed. -- ___ Python tracker <http://bugs.python.org/i

[issue9422] Memory leak when reinitializing a Struct object

2010-07-29 Thread Winston451
Winston451 added the comment: Hi Mark, I added a patch in the file list that should correct the bug. -- keywords: +patch Added file: http://bugs.python.org/file18263/leak.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9422] Memory leak when reinitializing a Struct object

2010-07-29 Thread Winston451
New submission from Winston451 : The s_init function of the _struct.c file does not free the s_codes field before storing a new address into it. So when a Struct object is reinitialized the memory block pointed to by s_codes is lost. The file attached with the bug report shows a code which