[New-bugs-announce] [issue7419] Crash in _locale.setlocale on windows
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Dec 1 16:36:39 CET 2009
New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:
import _locale
_locale.setlocale(12345)
Crashes on Windows with exit code 0xc0000417, a.k.a
STATUS_INVALID_CRUNTIME_PARAMETER.
2.6 and 3.0 are not affected.
setlocale should check the category before passing it to the C runtime:
LC_MIN <= category && category <= LC_MAX
----------
components: Windows
messages: 95863
nosy: amaury.forgeotdarc
severity: normal
status: open
title: Crash in _locale.setlocale on windows
versions: Python 2.7, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7419>
_______________________________________
More information about the New-bugs-announce
mailing list