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 Antony.Lee
Recipients Antony.Lee, docs@python
Date 2021-12-02.09:15:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638436517.15.0.508323988448.issue45962@roundup.psfhosted.org>
In-reply-to
Content
The documentation for PyModule_AddString{Constant,Macro} does not specify the encoding used.  Checking the source shows that these simply call PyUnicode_FromString and thus use utf8, but perhaps this could be made explicit.
History
Date User Action Args
2021-12-02 09:15:17Antony.Leesetrecipients: + Antony.Lee, docs@python
2021-12-02 09:15:17Antony.Leesetmessageid: <1638436517.15.0.508323988448.issue45962@roundup.psfhosted.org>
2021-12-02 09:15:17Antony.Leelinkissue45962 messages
2021-12-02 09:15:17Antony.Leecreate