This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients benrg, jackdied, loewis, mrabarnett, r.david.murray, terry.reedy
Date 2010-06-05.16:21:54
SpamBayes Score 0.038266834
Marked as misclassified No
Message-id <1275754915.94.0.0954200928714.issue8847@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2010-06-05 16:21:56mrabarnettsetrecipients: + mrabarnett, loewis, terry.reedy, jackdied, r.david.murray, benrg
2010-06-05 16:21:55mrabarnettsetmessageid: <1275754915.94.0.0954200928714.issue8847@psf.upfronthosting.co.za>
2010-06-05 16:21:54mrabarnettlinkissue8847 messages
2010-06-05 16:21:54mrabarnettcreate