[issue8646] PyUnicode_EncodeDecimal is undocumented
New submission from Daniel Stutzbach <daniel@stutzbachenterprises.com>: PyUnicode_EncodeDecimal is undocumented (although it's referenced in passing in the documentation for PyLong_FromUnicode). There's a lengthy comment in unicodeobject.h describing PyUnicode_EncodeDecimal, which could be converted more or less directly into documentation. ---------- assignee: docs@python components: Documentation messages: 105205 nosy: docs@python, stutzbach priority: normal severity: normal stage: needs patch status: open title: PyUnicode_EncodeDecimal is undocumented versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
Changes by STINNER Victor <victor.stinner@haypocalc.com>: ---------- nosy: +haypo _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
STINNER Victor <victor.stinner@haypocalc.com> added the comment: Can you write a patch? ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
Daniel Stutzbach <daniel@stutzbachenterprises.com> added the comment: Yes, though it may be a while before I find time to do so. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
Simon Cross <hodgestar@gmail.com> added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. ---------- nosy: +hodgestar _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
Changes by Alexander Belopolsky <belopolsky@users.sourceforge.net>: ---------- resolution: -> duplicate status: open -> closed superseder: -> Document unicode C-API in reST _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
STINNER Victor <victor.stinner@haypocalc.com> added the comment: I added tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() in Python 2.7, 3.2 and 3.3 (see also issue #13093). ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8646> _______________________________________
participants (4)
-
Alexander Belopolsky
-
Daniel Stutzbach
-
Simon Cross
-
STINNER Victor