Thanks for this work Dries. Please read the whole of PEP8 and try to understand the overall look of the code before attempting more cleanup though. I'm accepting this because the changes are overall OK, but try to also work on keeping the code consistently formatted and easy to read. Especially the line breaks need a bit of work. I'm actually OK with going over 80 characters if it helps legibility.
Thanks for this work Dries. Please read the whole of PEP8 and try to understand the overall look of the code before attempting more cleanup though. I'm accepting this because the changes are overall OK, but try to also work on keeping the code consistently formatted and easy to read. Especially the line breaks need a bit of work. I'm actually OK with going over 80 characters if it helps legibility.