I am coming from c++ world and python scoping rules result in unexpected bugs and issues when porting python2 code to python3. E.g. I have to deal with 100s of python2 const