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 mark.dickinson
Recipients mark.dickinson, ramezaniua
Date 2022-01-18.14:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642515988.32.0.0539517836987.issue46423@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the report. This is a long-standing and known behaviour. It's been discussed a good few times before, and (quite apart from potential problems with backwards compatibility) no-one has yet come up with convincing alternative behaviours.

See https://docs.python.org/3/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works

Marking as a duplicate of https://bugs.python.org/issue40911
History
Date User Action Args
2022-01-18 14:26:28mark.dickinsonsetrecipients: + mark.dickinson, ramezaniua
2022-01-18 14:26:28mark.dickinsonsetmessageid: <1642515988.32.0.0539517836987.issue46423@roundup.psfhosted.org>
2022-01-18 14:26:28mark.dickinsonlinkissue46423 messages
2022-01-18 14:26:28mark.dickinsoncreate