Update: I've updated the proposal to use the using keyword instead of overloading the existing semantics of the with keyword — thanks Guido and Todd Lucas! Blocks are supposedly the most liked feature in Ruby. This proposal would enable a similar feature in Python: