Please review this small change for fixing a problem with setting the locale on some Linux systems, typically on Ubuntu and the en_IN locale. On these systems, a known Python problem shows up where locale.setlocale works but locale.getdefaultlocale doesn't. And unfortunately, locale.getdefaultlocale is called from the Python libraries. This fix detects the problem early and switches to the C locale before it becomes a problem later on.

Webrev: http://cr.opensolaris.org/~tmueller/ips-8263/
Bug: 8263 misc.setlocale should handle locale.getdefaultlocale failure

Thanks.
Tom

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to