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 EmilStenstrom
Recipients BTaskaya, EmilStenstrom, eric.smith, gregory.p.smith, jack1142, mrabarnett, pablogsal, rhettinger, serhiy.storchaka, terry.reedy, veky, xtreak
Date 2021-03-20.22:13:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616278428.01.0.846997309497.issue43535@roundup.psfhosted.org>
In-reply-to
Content
Terry, Gregory: The suggestion is not to change what 1 + "2" does, I fully agree that it behaves at it should. The suggestion is to change what ",".join(1, "2") does. There's no doubt that the intended result is "1, 2". That's why it's possible to coerce.

About the example with a list with mixed types: If the reason that example is buggy is "this list should only have strings", a better way to enforce that is to add types to enforces it.
History
Date User Action Args
2021-03-20 22:13:48EmilStenstromsetrecipients: + EmilStenstrom, rhettinger, terry.reedy, gregory.p.smith, eric.smith, mrabarnett, serhiy.storchaka, veky, pablogsal, xtreak, BTaskaya, jack1142
2021-03-20 22:13:48EmilStenstromsetmessageid: <1616278428.01.0.846997309497.issue43535@roundup.psfhosted.org>
2021-03-20 22:13:48EmilStenstromlinkissue43535 messages
2021-03-20 22:13:47EmilStenstromcreate