Am Dienstag, 2. August 2016, 03:39:58 CEST schrieb Glyph Lefkowitz:
Probably we should up-convert from bytes automatically in the places
where we know python will be using the values as identifiers, including
callRemote and the keys in a __dict__.
Attached is some grep for my port showing where I had co convert.
grep -ri -e '\(network\|native\)'
This is unfortunately very tricky to know though, if we support
serializing both bytes and strings :-\.
Why? The wire protocol does not change. PY3 bytes are already
compatible, and PY3 strings are serialized as unicode objects.