Message107147
I've just found that:
[1] + foo()
crashes, but:
[1].__add__(foo())
gives:
Traceback (most recent call last):
File "<pyshell#25>", line 1, in <module>
[1].__add__(foo())
TypeError: can only concatenate list (not "foo") to list
(IDLE on Windows XP) |
|
Date |
User |
Action |
Args |
2010-06-05 16:21:56 | mrabarnett | set | recipients:
+ mrabarnett, loewis, terry.reedy, jackdied, r.david.murray, benrg |
2010-06-05 16:21:55 | mrabarnett | set | messageid: <1275754915.94.0.0954200928714.issue8847@psf.upfronthosting.co.za> |
2010-06-05 16:21:54 | mrabarnett | link | issue8847 messages |
2010-06-05 16:21:54 | mrabarnett | create | |
|