[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: common issue: setlocale handling?



* Paul Wise <pabs@debian.org>, 2010-08-22, 15:06:
I recently got a bug filed on iotop about its setlocale handling (#593846).

The issue was unguarded code like:

locale.setlocale(locale.LC_ALL, '')

which fails with "locale.Error: unsupported locale setting" if user has LC_* set to invalid values in his environment.

I don't think this is a bug at all. I'd rather say it's an user error.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: