Le jeu. 20 juin 2019 à 11:15, Inada Naoki <songofaca...@gmail.com> a écrit :
> Can we change _PyUnicode_FromId to use _PyUnicode_FromASCII?

How would a developer detect a mistake (non-ASCII) character? Does
_PyUnicode_FromASCII() raise an exception, even in release mode?

The function is only called once (that's the whole purpose of the
Py_IDENTIFER() API. Is it really worth it?

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/QSLDA5DYMZUWZOAIOVCAEYA45MPUSBB4/

Reply via email to