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 bruceblosser
Recipients ammar2, bruceblosser, steven.daprano
Date 2020-02-16.08:45:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581842726.29.0.751162646788.issue39641@roundup.psfhosted.org>
In-reply-to
Content
read the advice...
Yes this does work:

  ("Hello", 1, None) + (23, 19.5, "Goodbye")
    ('Hello', 1, None, 23, 19.5, 'Goodbye')
because you are not creating a 3rd string!

but try this, and it will NOT work:

FatThing= [(5, 4, "First Place"),
           (6, 6, "Fifer Place"),
           (2, 2, "Slowr Place")]
print(FatThing)  #this works

FFThing = FatThing + ('22', '32', '55')  #this causes an error!

however if you change all the members to strings, it will work!!!
History
Date User Action Args
2020-02-16 08:45:26bruceblossersetrecipients: + bruceblosser, steven.daprano, ammar2
2020-02-16 08:45:26bruceblossersetmessageid: <1581842726.29.0.751162646788.issue39641@roundup.psfhosted.org>
2020-02-16 08:45:26bruceblosserlinkissue39641 messages
2020-02-16 08:45:26bruceblossercreate