Message373009
```
.. c:function:: PyObject* PyLong_FromUnicodeObject(PyObject *u, int base)
Convert a sequence of Unicode digits in the string *u* to a Python integer
value. The Unicode string is first encoded to a byte string using
:c:func:`PyUnicode_EncodeDecimal` and then converted using
:c:func:`PyLong_FromString`.
```
PyUnicode_EncodeDecimal is not used actually.
It uses private and undocumented `_PyUnicode_TransformDecimalAndSpaceToASCII` function instead.
The document of PyFloat_FromString() doesn't mention about how it convert unicode string to digits. Let's remove the second sentence. |
|
Date |
User |
Action |
Args |
2020-07-05 02:53:03 | methane | set | recipients:
+ methane, docs@python |
2020-07-05 02:53:03 | methane | set | messageid: <1593917583.65.0.783056936428.issue41211@roundup.psfhosted.org> |
2020-07-05 02:53:03 | methane | link | issue41211 messages |
2020-07-05 02:53:03 | methane | create | |
|