[docs] [issue25438] document what codec PyMemberDef T_STRING decodes the char * as
Gregory P. Smith
report at bugs.python.org
Mon Oct 19 02:42:04 EDT 2015
New submission from Gregory P. Smith:
T_STRING members are turned into str objects in Python. The documentation needs updating to mention which codec the char * bytes are treated as.
Solving this issue involves code inspection and leaving pointers to that code here in the issue, then updating the docs to mention the requirements for the char * member data as well as what happens upon assignment for non-READONLY T_STRING data (a different restriction? or encoding to the same codec?)
My _guess_ would be UTF-8 or ASCII but I'll let someone else dive in and find out. This is a Python 3 specific documentation clarification.
assignee: docs at python
nosy: docs at python, gregory.p.smith
stage: needs patch
title: document what codec PyMemberDef T_STRING decodes the char * as
versions: Python 3.4, Python 3.5, Python 3.6
Python tracker <report at bugs.python.org>
More information about the docs