I don't know much Python but as far as I k now it is capable of extension via mixins and Java can do similarly through AoP and inheritance. Erlang can do neither of these out of the box.
What I'm really referring to is how dry a set of modules is capable of being, avoiding repeated boiler plate code being employed each and every time.