New submission from Antony Lee <anntzer....@gmail.com>:

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.

----------
assignee: docs@python
components: C API, Documentation
messages: 407518
nosy: Antony.Lee, docs@python
priority: normal
severity: normal
status: open
title: Clarify that PyModule_AddString{Constant,Macro} use utf-8
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to