[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89f62f143920 by Christian Heimes in branch 'default': Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() http://hg.python.org/cpython/rev/89f62f143920 -- ___ Python tracker

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-22 Thread Georg Brandl
Georg Brandl added the comment: Done as 89f62f143920. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-11 Thread Christian Heimes
Christian Heimes added the comment: Yes, 3.2 and earlier are not affected. Georg, I'm assigning the bug to you so you can decide if you like to cherry pick the fix. -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> fixed stage: -> committed/rejected __

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f2811e5e462 by Christian Heimes in branch 'default': Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() http://hg.python.org/cpython/rev/4f2811e5e462 -- nosy: +python-dev ___ Python track

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-10 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Looks good to me. Are 2.7/3.2 not affected?. Christian, Please, commit the patch and notify Georg for 3.3.0 inclusion. -- nosy: +jcea ___ Python tracker _

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-10 Thread Christian Heimes
New submission from Christian Heimes: Objects/unicodeobject.c:PyUnicode_TranslateCharmap() leaks a reference to the variable unicode. PyUnicode_Translate() is also implemented around the helper function _PyUnicode_TranslateCharmap() but it properly decrefs the reference to the first argument.