Marc-Andre Lemburg <m...@egenix.com> added the comment: The reason this call fails is that there's no locale alias defined for "ml_IN" in the local_alias dictionary.
While the patch is probably a good idea, it also hides the missing mapping. I think a better approach would be to check the locale name for standards compliance (ie. xx_YY format) and only then use it as fallback solution. I'll update the locale_alias dictionary to the X.org version 2009-12-08 (unless you know an even more recent version). This includes the missing 'ml_IN' mapping (among a few other additions and updates). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6895> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com