Nested Try Statement In Python A Namespace