Roundup Robot added the comment:
New changeset 8c65480a1e19 by Berker Peksag in branch 'default':
Issue #23581: Add matmul support to MagicMock.
https://hg.python.org/cpython/rev/8c65480a1e19
--
nosy: +python-dev
___
Python tracker
Berker Peksag added the comment:
Thanks for the patch, Håkan. If you want to add tests for other magic methods,
please open a new issue.
Thanks for the report, Zygmunt.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - berker.peksag
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
Håkan Lövdahl added the comment:
Here is a suggestion for a patch. It adds the missing matmul and has a small
test for it.
--
keywords: +patch
nosy: +Håkan Lövdahl
Added file: http://bugs.python.org/file38368/issue23581.patch
___
Python tracker
Berker Peksag added the comment:
Looks good. I'll tweak the patch and commit it. Thanks Håkan.
--
stage: - patch review
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
--
nosy: +sahutd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
___
New submission from Zygmunt Krynicki:
Hi. I'm the upstream of Padme, a mostly transparent proxy library for Python. I
was adding support for the new matmul/@ operator when I noticed that MagicMock
doens't support it yet.
form unittest.mock import MagicMock
MagicMock() @ 1
Traceback (most
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
___