[Python-Dev] [Python-3000] New proposition for Python3 bytes filename issue
"Martin v. Löwis"
martin at v.loewis.de
Tue Sep 30 22:22:07 CEST 2008
> I didn't get an answer to my question: what is the result <bytes (fake
> characters) stored in unicode> + <real unicode>? I guess that the result is
> <mixed "bytes" and characters in unicode> instead of raising an error
> (invalid types). So again: why introducing a new type instead of reusing
> existing Python types?
I didn't mean to introduce a new data type in the strict sense - merely
to pass through undecodable bytes through the regular Unicode type.
So the result of adding them is a regular Unicode string.
Regards,
Martin
More information about the Python-Dev
mailing list