Message138231
| Author |
DDarko |
| Recipients |
DDarko |
| Date |
2011年06月13日.10:18:23 |
| SpamBayes Score |
1.542605e-11 |
| Marked as misclassified |
No |
| Message-id |
<1307960306.32.0.147615969917.issue12324@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I added an example to reproduce the bug.
From the command line the same code:
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) [GCC 4.5.2] on linux2
$ python sort_test.py
Everything fine.
Python 3.2 (r32:88445, Mar 25 2011, 19:28:28) [GCC 4.5.2] on linux2
$ python3 sort_test.py
Traceback (most recent call last):
File "sort_test.py", line 1821, in <module>
r = sorted(d.items(), key=operator.itemgetter(1), reverse=1)
TypeError: unorderable types: dict() < dict() |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月13日 10:18:26 | DDarko | set | recipients:
+ DDarko |
| 2011年06月13日 10:18:26 | DDarko | set | messageid: <1307960306.32.0.147615969917.issue12324@psf.upfronthosting.co.za> |
| 2011年06月13日 10:18:25 | DDarko | link | issue12324 messages |
| 2011年06月13日 10:18:25 | DDarko | create |
|