]> granicus.if.org Git - python/commit
getopt used to sort the long option names, in an attempt to simplify
authorTim Peters <tim.peters@gmail.com>
Fri, 29 Dec 2000 02:17:56 +0000 (02:17 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 29 Dec 2000 02:17:56 +0000 (02:17 +0000)
commitd31b6328e180af4b10e2c942a1437d5b8cb2c2e6
tree043fafc54861c3cc2690995f77723874b45d2506
parent36cdad12ddb2d70cc260d2a03e2b7e2f8ebb9a73
getopt used to sort the long option names, in an attempt to simplify
the logic.  That resulted in a bug.  My previous getopt checkin repaired
the bug but left the sorting.  The solution is significantly simpler if
we don't bother sorting at all, so this checkin gets rid of the sort and
the code that relied on it.
Lib/getopt.py