open-rsx/rsb-python

Modernize code

Closed this issue · 0 comments

Use new features.

  • string.format instead of percents
  • modern properties syntax everywhere
  • remove object extensions in classes
  • super calls
  • raise Foo() from syntax
  • exc_info in logging calls instead of manually adding the exception string
  • modern ABC usage
  • avoid using double underscores
  • replace deprecated logging methods (e.g. warn -> warning)