[issue26636] SystemError while running tests: extra exception raised

2016-03-25 Thread STINNER Victor
STINNER Victor added the comment: I hope that the exception will help you to write better software (don't loose exceptions) ;-) -- status: open -> closed ___ Python tracker

[issue26636] SystemError while running tests: extra exception raised

2016-03-25 Thread Denis
Denis added the comment: Thank you! The error was that some calls in pycrypto code were aggregated and exceptions in those calls were ignored. Here is the patch for pycrypto that fixed the build. @@ -1427,7 +1429,9 @@ getStrongPrime (PyObject *self, PyObject *args, PyObject *kwargs)

[issue26636] SystemError while running tests: extra exception raised

2016-03-24 Thread STINNER Victor
STINNER Victor added the comment: > Probably same issue as in Django, but in other Python module. Do you understand that bug very likely comes from your code? Please review the code of the Crypto module (especially number._fastmath.getStrongPrime) to ensure that it doesn't return a result

[issue26636] SystemError while running tests: extra exception raised

2016-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +haypo ___ Python tracker ___ ___

[issue26636] SystemError while running tests: extra exception raised

2016-03-24 Thread Denis
New submission from Denis: Looks like related to Issue23571 Probably same issue as in Django, but in other Python module. While compiling python-module-crypto: = ERROR: test_getStrongPrime_randfunc_bogus