Merge pull request #43 from rwgk/py310_compatibility Adopting Python 3.10 compatibility change by @jblespiau