On 19 August 2010 10:16, Stuart Bishop <[email protected]> wrote:
>> - Multiple objects in one import statement are each placed on a line by
>> itself, in list style (the core of this change). Objects are sorted
>> alphabetically using Python's "sorted" function which sorts Capital letters
>> *first*. I know this is a change to the previous style but who are we to 
>> argue
>> with Python? ;)
>
> Python does both - it all depends if you are running in C locale and
> doing byte wise or an English locale and locale aware sorting. As the
> end result is supposed to be read and used by humans, I'd go for
> locale aware and make the sorting case insensitive.

+1 for case-insensitive sorting. Case-sensitive sorting will just
annoy people in the long run.

-- 
Graham Binns | PGP Key: EC66FA7D
http://launchpad.net/~gmb

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to