python / python/cpython

get_lock() method is not present for Values created using multiprocessing.Manager()

未关闭
#79,967 18 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

3.7 (EOL) docs stdlib topic-multiprocessing
主要语言
Python
星标
77.2k
派生
36k
平均合并
1 天 9 小时
30 天内合并 PR
558

描述

BPO 35786
Nosy @pfmoore, @pitrou, @tjguk, @zware, @MojoVampire, @applio, @websurfer5, @ian-bertolacci

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 2019-01-19.21:50:32.910>
labels = ['3.7', 'library', 'docs']
title = 'get_lock() method is not present for Values created using multiprocessing.Manager()'
updated_at = <Date 2020-08-15.01:55:10.127>
user = 'https://bugs.python.org/LorenzoPersichetti'

bugs.python.org fields:

activity = <Date 2020-08-15.01:55:10.127>
actor = 'ned.deily'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'Library (Lib)']
creation = <Date 2019-01-19.21:50:32.910>
creator = 'Lorenzo Persichetti'
dependencies = []
files = []
hgrepos = []
issue_num = 35786
keywords = []
message_count = 6.0
messages = ['334070', '334106', '349155', '349156', '349191', '373174']
nosy_count = 11.0
nosy_names = ['paul.moore', 'pitrou', 'tim.golden', 'docs@python', 'zach.ware', 'nemeskeyd', 'josh.r', 'davin', 'Lorenzo Persichetti', 'Jeffrey.Kintscher', 'IanBertolacci']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue35786'
versions = ['Python 3.6', 'Python 3.7']

贡献指南

打开贡献指南

从这里开始

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

调研方向

先从涵盖 Manager() 和 Value 对象的 Python multiprocessing 文档开始,然后将其与有文档说明的 multiprocessing.Value API 及其 get_lock() 方法进行比较。明确通过 Manager() 创建的值在文档所述 API 上的差异,并在用户能够确定 get_lock() 是否可用以及应改用什么之后,认为工作已完成。

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

评估

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

把新 issue 发到你的邮箱

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