On 01/13/2014 01:49 AM, Mark Shannon wrote: > > '%s' can't work in 3.5, as we must differentiate between > strings which meed to be encoded and bytes which don't. I don't understand this objection: def __mod__(self, other): if isinstance(other, bytes): # no encoding necessary elif isinstance(other, str): # payback time! other = ascii(other) Where is the problem? -- ~Ethan~
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