python / python/cpython

Document that PyErr_SetInterrupt is async-signal-safe

未关闭
#87,422 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

3.11 3.12 3.13 docs topic-C-API
主要语言
Python
星标
77.2k
派生
36k
平均合并
1 天 9 小时
30 天内合并 PR
558

描述

BPO 43256
Nosy @pitrou, @vstinner, @pablogsal

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-02-18.14:31:32.964>
labels = ['type-bug', '3.8', '3.9', '3.10', 'expert-C-API', 'docs']
title = 'Document that PyErr_SetInterrupt is async-signal-safe'
updated_at = <Date 2021-02-18.14:31:32.964>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2021-02-18.14:31:32.964>
actor = 'pitrou'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'C API']
creation = <Date 2021-02-18.14:31:32.964>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 43256
keywords = []
message_count = 1.0
messages = ['387234']
nosy_count = 4.0
nosy_names = ['pitrou', 'vstinner', 'docs@python', 'pablogsal']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43256'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 PyErr_SetInterrupt 的 C API 文档条目,并查看其当前描述及周围的指导内容。记录该函数是 async-signal-safe 的,然后验证生成的参考文本准确反映了所请求的行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
c, python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。