[issue8645] PyUnicode_AsEncodedObject is undocumented

New submission from Daniel Stutzbach daniel@stutzbachenterprises.com:
PyUnicode_AsEncodedObject is undocumented. It has the same signature as PyUnicode_AsEncodedString, although they do slightly different things based on a brief source code inspection (I'm not clear on what that difference is though).
---------- assignee: docs@python components: Documentation messages: 105203 nosy: docs@python, stutzbach priority: normal severity: normal stage: needs patch status: open title: PyUnicode_AsEncodedObject is undocumented versions: Python 2.7, Python 3.2
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue8645 _______________________________________

Changes by STINNER Victor victor.stinner@haypocalc.com:
---------- nosy: +haypo
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue8645 _______________________________________

STINNER Victor victor.stinner@haypocalc.com added the comment:
Can you write a patch?
See also #8646.
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue8645 _______________________________________

Daniel Stutzbach daniel@stutzbachenterprises.com added the comment:
I'm not really clear on what PyUnicode_AsEncodedObject does (as opposed to PyUnicode_AsEncodedString). Someone already familiar with those two functions would have a much easier time writing a documentation patch.
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue8645 _______________________________________

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/issue8645 _______________________________________

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/issue8645 _______________________________________
participants (4)
-
Alexander Belopolsky
-
Daniel Stutzbach
-
Simon Cross
-
STINNER Victor