[issue3303] invalid ref count on locale.strcoll() error

STINNER Victor report at bugs.python.org
Sun Jul 6 18:06:10 CEST 2008


New submission from STINNER Victor <haypo at users.sourceforge.net>:

If locale.strcoll(a, b) fails because PyUnicode_FromObject(b) fails, 
refcount of a is wrong. Attached patch fixes the problem.

----------
components: Library (Lib)
files: locale_strcoll_rel1.patch
keywords: patch
messages: 69336
nosy: haypo
severity: normal
status: open
title: invalid ref count on locale.strcoll() error
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file10832/locale_strcoll_rel1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3303>
_______________________________________


More information about the Python-bugs-list mailing list