CodeQL: Python issues
CodeQL reports 13 issues in the Python code. 3 of them are errors, 1 warning, remaining are notes related to tests. Nevertheless it's useful to address them, so the security report on github is cleaner and has less noise.
Edited by Tomek Mrugalski