03.11.19 12:31, Anders Hovmöller пише:
On 3 Nov 2019, at 10:28, Steven D'Aprano <[email protected]> wrote: Given:values = ["Hello", b"World"] would you expect ' '.join(values) to return "Hello b'World'" because that's what you'll get calling str automatically.Side note! That misfeature of python 3 was one of the largest source of continuing bugs in production for us after we switched.
What result would you expect? And what about ["Привіт", b'\xf1\xe2\xb3\xf2'] and ["Привіт", b'\xd1\x81\xd0\xb2\xd1\x96\xd1\x82']?
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/R34HFSM4O3OHLUNAL2G2DS2I7MNZKJU7/ Code of Conduct: http://python.org/psf/codeofconduct/
