simplified exception renaming in python
python now support private methods and fields in main (even though it is not 'in' the class)