In python-mode, when I'm inside a triple-quoted string or immediately after it and insert (say) a comma, current line indentation should not change. I tried to play with python-indent-post-self-insert-function, but could not figure out how to recognize when I'm within or close to a multiline string. The attached patch adds two (currently) failing tests.