[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-12 Thread Roundup Robot
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

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-12 Thread Berker Peksag
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

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-11 Thread Serhiy Storchaka
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 ___

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-07 Thread Håkan Lövdahl
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

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-07 Thread Berker Peksag
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

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-05 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: -- nosy: +sahutd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23581 ___ ___

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-04 Thread Zygmunt Krynicki
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

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-04 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23581 ___ ___