Martin> Java also supports byte arrays in the source, although they are Martin> difficult to type: Martin> byte[] request = {'G', 'E', 'T'}; Seems to me that b"GET" would be more Pythonic given existing Python string literals. Martin> As for reading from streams: Java has multiple reader APIs; some Martin> return byte strings, some character strings. I think Guido's proposed 'B' might make sense here. OTOH, today's 'b' might work as well, though a switch of that magnitude could probably not be made until 3.0 if bytes objects are not synonyms for strings. Skip
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