03.11.19 12:31, Anders Hovmöller пише:
On 3 Nov 2019, at 10:28, Steven D'Aprano <st...@pearwood.info> 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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/R34HFSM4O3OHLUNAL2G2DS2I7MNZKJU7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to