[issue12324] [3.2] sorted(big dict)

DDarko report at bugs.python.org
Mon Jun 13 14:12:23 CEST 2011


DDarko <ddarko.dd at gmail.com> added the comment:

I am aware of this change.
In this example, I'm sort by item number 1, which is a list, and its first value is an int.

$ python3 sort_test.py 
<class 'list'>
<class 'list'>
<class 'list'>
<class 'list'>
<class 'list'>
<class 'list'>
...

Dict index is always No. 2. But I do not sort it.
That's why it surprised me this error because nowhere dicts should not be compared.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12324>
_______________________________________


More information about the Python-bugs-list mailing list