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
Python-Dev@python.org
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