[issue3660] reference leaks in 3.0
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Aug 28 11:55:33 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
- the "test_site leaked [88, 88]" is the same as problem as issue3667.
- test_unicodes leaks in PyUnicode_AsEncodedString (attached patch), and
also with:
str(memoryview(b'character buffers are decoded to unicode'), 'utf-8')
I tried another patch, but I'm not sure: I get lost between all these
buffers... a Py_DECREF(self->view.obj) in memory_releasebuf() seems to work.
----------
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file11285/encode-leak.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3660>
_______________________________________
More information about the Python-bugs-list
mailing list