Does Python have extension methods like C#? Is it possible to call a method like:
MyRandomMethod()
on existing types like int?
int
Another option is to override the meta-class. This allows you to, among other things, specify functions that should exist in all classes.
This article starts to discuss it:
http://www.onlamp.com/pub/a/python/2003/04/17/metaclasses.html