[issue43535] Make str.join auto-convert inputs to strings.

Gregory P. Smith report at bugs.python.org
Sat Mar 20 17:43:31 EDT 2021


Gregory P. Smith <greg at krypto.org> added the comment:

-10.  I agree with Serhiy.  Automatic type conversion is rarely a feature.  It leads to silent bugs when people pass the wrong things.  Be explicit.

We are intentionally not one of those everything is really a string languages like Perl or Javascript.

This core API behavior change is big enough to need a PEP and steering council approval.

----------
nosy: +gregory.p.smith

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


More information about the Python-bugs-list mailing list