The default locale of sorted()

Peng Yu pengyu.ut at gmail.com
Mon Dec 3 17:17:08 EST 2012


Hi,

I'm not able to find the documentation on what locale is used for
sorted() when the 'cmp' argument is not specified. Could anybody let
me what the default is? If I always want LC_ALL=C, do I need to
explicitly set the locale? Or it is the default?

Regards,
Peng



More information about the Python-list mailing list