[issue29754] sorted ignores reverse=True when sorting produces same list

2017-03-08 Thread Tomas Dabašinskas
Tomas Dabašinskas added the comment: Thanks for taking time to review and respond Tim! (; -- ___ Python tracker ___

[issue29754] sorted ignores reverse=True when sorting produces same list

2017-03-07 Thread Tim Peters
Tim Peters added the comment: Your last line can't possibly return True, because `somelist.reverse()` returns None. So the last line is irrelevant. Your complaint appears to be about the line before, which shows that the list retains its original order. That's expected. All the keys are

[issue29754] sorted ignores reverse=True when sorting produces same list

2017-03-07 Thread Tomas Dabašinskas
New submission from Tomas Dabašinskas: sorted ignores reverse=True when sorting produces same list, I was expecting reverse regardless of the sorting outcome. Python 3.5.2 (default, Jul 17 2016, 00:00:00) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more