[issue39641] concatenation of Tuples

Steven D'Aprano report at bugs.python.org
Sat Feb 15 22:00:03 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

> The concatenation of two tuples into a third tuple, using the + command, causes an error if every member of each of the two tuples is NOT a string!

Works for me:

    py> ("Hello", 1, None) + (23, 19.5, "Goodbye")
    ('Hello', 1, None, 23, 19.5, 'Goodbye')

If you still think there is a bug here, please follow the advice given here

http://www.sscce.org/

before re-opening this ticket.

----------
nosy: +steven.daprano
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39641>
_______________________________________


More information about the Python-bugs-list mailing list