[Python-Dev] Getting rid of unbound methods: patch available

Glyph Lefkowitz glyph at divmod.com
Tue Jan 18 00:35:23 CET 2005


On Mon, 2005-01-17 at 23:58 +0100, M.-A. Lemburg wrote:

> If you want to make methods look more like functions,
> the method object should become a subclass of the function
> object (function + added im_* attributes).

I think this suggestion would fix my serialization problem as well...
but does it actually buy enough extra simplicity to make it worthwhile?



More information about the Python-Dev mailing list