Message389048
> 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. |
|
Date |
User |
Action |
Args |
2021-03-18 23:22:39 | rhettinger | set | recipients:
+ rhettinger, eric.smith, serhiy.storchaka, veky, pablogsal, xtreak |
2021-03-18 23:22:39 | rhettinger | set | messageid: <1616109759.58.0.139932606575.issue43535@roundup.psfhosted.org> |
2021-03-18 23:22:39 | rhettinger | link | issue43535 messages |
2021-03-18 23:22:39 | rhettinger | create | |
|