Re: [Python-Dev] PEP 460: allowing %d and %f and mojibake

2014年1月14日 21:59:43 -0800

Steven D'Aprano writes:
 > I thought I understand the purpose of asciistr was exactly that, to
 > produce something that was compatible with both bytes and strings.
asciistr *canonizes* something as an ASCII string, and therefore
compatible with both bytes and str. It can't *create* such a thing ex
nihilo.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to