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 rhettinger
Recipients eric.smith, pablogsal, rhettinger, serhiy.storchaka, veky, xtreak
Date 2021-03-18.23:22:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616109759.58.0.139932606575.issue43535@roundup.psfhosted.org>
In-reply-to
Content
>  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.
History
Date User Action Args
2021-03-18 23:22:39rhettingersetrecipients: + rhettinger, eric.smith, serhiy.storchaka, veky, pablogsal, xtreak
2021-03-18 23:22:39rhettingersetmessageid: <1616109759.58.0.139932606575.issue43535@roundup.psfhosted.org>
2021-03-18 23:22:39rhettingerlinkissue43535 messages
2021-03-18 23:22:39rhettingercreate