New submission from Amaury Forgeot d'Arc <amaur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com