New submission from Pavel Chuvakhov: Standard `pow` function of three integer arguments should result in a reminder `(x**y) % z`. It seems that `pow(x,y,z)` ignores `%z` operation if type(z) is not `int`. This happens also in the cases when `z` has type numpy.int32, numpy.int64, etc. I consider such a behavior of `pow` as a bug to be fixed.
Thank you for your attantion, guys! Best wishes, Pavel. ---------- components: Distutils files: pow-bug_report.py messages: 284675 nosy: dstufft, eric.araujo, pch priority: normal severity: normal status: open title: `pow` with three int arguments works like it had two arguments type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file46146/pow-bug_report.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29160> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com