magnars/expand-region.el — pull request #133 by andreas-roehler (2014-03-07 10:18:22+00:00)
Title: py-goto-beyond-clause not known, use py-end-of-clause-bol

Handling of clauses is a rather recent feature of python-mode.el

py-goto-beyond-block existed, however clause seems right here