This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Refleak in PyUnicode_FormatV
Type: Stage:
Components: Unicode Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vstinner Nosy List: ocean-city, vstinner
Priority: normal Keywords: patch

Created on 2010-09-11 13:54 by ocean-city, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py3k_fix_PyUnicode_Format.patch ocean-city, 2010-09-11 13:55
Messages (2)
msg116095 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2010-09-11 13:54
I noticed following refleak.

http://mail.python.org/pipermail/python-checkins/2010-September/097438.html

py3k results for svn r84704 (hg cset 4ffcca0d1896)
--------------------------------------------------

test_unicode leaked [2, 2, 2] references, sum=6

This refleak seems to be introduced in r84704.
I hope attached patch will fix this.
msg116160 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-09-12 09:36
Fixed by r84730, thanks for the issue.
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 54045
2010-09-12 09:36:32vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg116160
2010-09-11 16:52:44pitrousetassignee: vstinner

nosy: + vstinner
2010-09-11 13:57:30ocean-citysetversions: - Python 3.1
2010-09-11 13:55:02ocean-citysetfiles: + py3k_fix_PyUnicode_Format.patch
keywords: + patch
2010-09-11 13:54:40ocean-citycreate