M.-A. Lemburg wrote: >> No, it would not "work" the way I want. I don't want to force >> things to unicode strings unless necessary. > > > Unicode always causes coercion towards Unicode, just like floats > always cause coercion towards floats. Nothing's going to > change at that end. Not always. As we are discussing right now, str() (and indirectly %s) coerce Unicode objects into string objects. Also, PyArg_ParseTuple coerces Unicode into byte strings for the "s" and "t" formats. 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