magnars/expand-region.el — pull request #89 by vmalloc (2012-11-22 19:12:12+00:00)
Title: Issue #86: Add expansion for python.el to mark a decorator on top of a block

This seems like a more robust implementation.