Python3: rebase patches.