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 <rep...@bugs.python.org> <http://bugs.python.org/issue15954> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com