Wholesale replace python.el with Emacs's

Taken from emacs-24 branch, 08d324ecd208.
Correct position of cursor after indent

(current-indentation) returns column, not position, and column is
really fucking high (tab-width is 70) when I use smart tabs.  Contrast
with (line-beginning-position) and starting-pos (= (point-marker))
which measure in characters, and you're basically "mixing units of
measure."  Therefore we just back up to the indentation and grab
(point) to find the position of the current indentation in characters.

After some testing time I should probably propose this for upstream.
Tweak indentation on "assignment continuation"

I wanted

    foo = \

to indent just one more level, but the programmed behavior was to always
indent to underneath the \.  See my added comment for more information.
Maintain indentation inside multi-line strings

Maintain indentation from line to line inside a multi-line string.