Pavel Chuvakhov added the comment: Sorry about script, n1 should be n, and n2 should be m. Updated script is attached.
Ofc mpz is a way out. One also could cast int( np.int32 ) explicitly. I just wanted to underline that the best way is to hide all this stuff from a user and not make the user think what kind of int subtypes he should use. Python is a pretty language, isn't it? =) Ones this is bug/limitation of numpy, shall we make a report for 'numpy guys' directly? ---------- components: +Distutils -Interpreter Core Added file: http://bugs.python.org/file46148/pow-bug_repor-upd.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