Unmask as many exceptions as possible
Cosmetic changes in extras/swig.py