[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

Crashes on Windows with exit code 0xc0000417, a.k.a
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>

More information about the New-bugs-announce mailing list