Thread safety issue with MagickMock __str__: sometimes returns MagickMock instead of str

Open
#70,787 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

No source file or test is named; start by locating MagickMock.str and reviewing linked PR gh-120094. Done means the behavior is consistent under threaded use and the relevant regression coverage passes.

Written by the indexing model from the issue text.

Description

stdlib type-bug
BPO 26600
Nosy @pitrou, @voidspace, @skonieczny, @iritkatriel

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 2016-03-21.08:13:06.783>
labels = ['type-bug', 'library']
title = 'Thread safety issue with MagickMock __str__: sometimes returns MagickMock instead of str'
updated_at = <Date 2021-02-22.10:51:03.663>
user = 'https://github.com/skonieczny'

bugs.python.org fields:

activity = <Date 2021-02-22.10:51:03.663>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-03-21.08:13:06.783>
creator = 'uosiu'
dependencies = []
files = []
hgrepos = []
issue_num = 26600
keywords = []
message_count = 6.0
messages = ['262104', '272735', '387178', '387507', '387509', '387511']
nosy_count = 5.0
nosy_names = ['pitrou', 'michael.foord', 'uosiu', 'Yoichi Nakayama', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26600'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

Linked PRs
  • gh-120094
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.