On Friday, July 14, 2017 at 2:40:43 AM UTC-5, Chris Angelico wrote: [...] > IMO the Python str type is adequate as a core data type. What we may > need, though, is additional utility functions, eg: > > * unicodedata.grapheme_clusters(str) - split str into a sequence of > grapheme clusters > * pango.get_text_extents(str) - measure the pixel dimensions of a line of text > * platform.punish_user() - issue a platform-dependent response (such > as an electric shock, a whack with a 2x4, or a dropped anvil) on > someone who has just misunderstood Unicode again > * socket.punish_user() - as above, but to the user at the opposite end > of a socket
Chris's violent nature is obviously due to him watching so many looney tunes episodes, that he believes an anvil to the head causes no damage. This is not a cartoon Chris! -- https://mail.python.org/mailman/listinfo/python-list