Josiah Carlson wrote: > I would agree that zip is questionable, but 'uu', 'rot13', perhaps 'hex', > and likely a few others that the two of you may be arguing against > should stay as encodings, because strictly speaking, they are defined as > encodings of data. They may not be encodings of _unicode_ data, but > that doesn't mean that they aren't useful encodings for other kinds of > data, some text, some binary, ... To support them, the bytes type would have to gain a .encode method, and I'm -1 on supporting bytes.encode, or string.decode. Why is s.encode("uu") any better than binascii.b2a_uu(s) Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4