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)
Py_BLOCK_THREADS;
res = 1;
res &= getRandomRange (X, lower_bound, upper_bound, randfunc);
+ if (res!=0)
res &= getRandomNBitInteger (y[0], 101, randfunc);
+ if (res!=0)
res &= getRandomNBitInteger (y[1], 101, randfunc);
Py_UNBLOCK_THREADS;
----
So this code tried to aggregate exceptions before propagating them, that was
the reason for exception.
----------
resolution: -> not a bug
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com