Clarify that PyModule_AddString{Constant,Macro} use utf-8

Open
#90,120 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
c
Domain
documentation

Research direction

Start by locating the C API documentation entries for PyModule_AddStringConstant and PyModule_AddStringMacro, then check how their string encoding is currently described. Done means the relevant documentation clearly states that both APIs use UTF-8; gh-131597 is already linked to this issue.

Written by the indexing model from the issue text.

Description

docs easy topic-C-API type-feature
BPO 45962
Nosy @anntzer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2021-12-02.09:15:17.127>
labels = ['expert-C-API', '3.11', 'type-feature', 'docs']
title = 'Clarify that PyModule_AddString{Constant,Macro} use utf-8'
updated_at = <Date 2021-12-03.13:47:51.026>
user = 'https://github.com/anntzer'

bugs.python.org fields:

activity = <Date 2021-12-03.13:47:51.026>
actor = 'AlexWaygood'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'C API']
creation = <Date 2021-12-02.09:15:17.127>
creator = 'Antony.Lee'
dependencies = []
files = []
hgrepos = []
issue_num = 45962
keywords = []
message_count = 1.0
messages = ['407518']
nosy_count = 2.0
nosy_names = ['docs@python', 'Antony.Lee']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue45962'
versions = ['Python 3.11']

Linked PRs
  • gh-131597
Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/cpython

All issues in python/cpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.