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

2008-07-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r65134. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

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

2008-07-06 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- priority: -> high ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

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

2008-07-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python

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

2008-07-06 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Example to reproduce the bug: import locale; locale.strcoll(u"a", None) ___ Python tracker <[EMAIL PROTECTED]> ___ ___

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

2008-07-06 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: 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: hayp