This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, methane
Date 2020-07-05.02:53:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593917583.65.0.783056936428.issue41211@roundup.psfhosted.org>
In-reply-to
Content
```
.. 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.
History
Date User Action Args
2020-07-05 02:53:03methanesetrecipients: + methane, docs@python
2020-07-05 02:53:03methanesetmessageid: <1593917583.65.0.783056936428.issue41211@roundup.psfhosted.org>
2020-07-05 02:53:03methanelinkissue41211 messages
2020-07-05 02:53:03methanecreate