Remove spurious spaces at EOL.
Bump version to 3.1.0.40
Automated diagnostic for test-all-no-stop and test-all-no-upgrade-no-stop targets.
Fix the type declaration and docstring of selfward-operation.
Bump version to 3.1.0.41