python2-tasks: yet more fixes