[New-bugs-announce] [issue15954] No error checking after using of the wcsxfrm()

Serhiy Storchaka report at bugs.python.org
Mon Sep 17 12:14:34 CEST 2012


New submission from Serhiy Storchaka:

The wcsxfrm() function may fail but there is no error check code.

I don't know what exception type should be used here: OSError with an errno EINVAL or some specialized type. I can't prepare tests, because I don't know under what conditions it would be possible error, and whether we can get it on any system at all without broking some internal unicode object invariants.

----------
components: Library (Lib), Windows
messages: 170592
nosy: loewis, storchaka
priority: low
severity: normal
status: open
title: No error checking after using of the wcsxfrm()
type: behavior
versions: Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list