CLN upgrade to Python3.7+ syntax
Given that the next version will be Python3.7+, there's some nice updates we can make
This is arguably too big for a single PR - I'll open up an issue to apply it to smaller batches of files