This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2009-12-01.15:36:38
SpamBayes Score 0.00038414597
Marked as misclassified No
Message-id <1259681799.96.0.766009696643.issue7419@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-12-01 15:36:40amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2009-12-01 15:36:39amaury.forgeotdarcsetmessageid: <1259681799.96.0.766009696643.issue7419@psf.upfronthosting.co.za>
2009-12-01 15:36:38amaury.forgeotdarclinkissue7419 messages
2009-12-01 15:36:38amaury.forgeotdarccreate