The default locale of sorted()

Peng Yu pengyu.ut at
Mon Dec 3 23:17:08 CET 2012


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?


More information about the Python-list mailing list