except without exception type

Bug #1178485 reported by Sebastian Ramacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
Fix Committed
Undecided
Unassigned

Bug Description

We have several cases of excepts without an exception type. This is bad since this will also catch KeyboardInterrupt and SystemExit. See for more details http://docs.python.org/2/howto/doanddont.html#except.

The following parts of PyCrypto have such excepts:

lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:167
lib/Crypto/SelfTest/Signature/test_pkcs1_15.py:188
lib/Crypto/Util/asn1.py:210
lib/Crypto/Util/asn1.py:207
lib/Crypto/Util/py3compat.py:78

Revision history for this message
Richard Mitchell (mitchellrj) wrote :
Revision history for this message
Darsey Litzenberger (dlitz) wrote :
Changed in pycrypto:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.