Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

>  What changed?

It comes up almost every week that I teach a Python course.  Eventually, I've 
come to see the light :-)

Also, I worked though the steps and found an efficiency gain for new code with 
no detriment to existing code.

Lastly, I used to worry a lot about join() also being defined for bytes() and 
bytearray().  But after working through the use cases, I can see that we get an 
even bigger win.  People seem to have a hard time figuring out how to convert a 
single integer to a byte.  The expression "bytes([x])" isn't at all intuitive; 
it doesn't look nice in a list comprehension, and is incomprehensible when used 
with map() and lambda.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43535>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to