Object-based inheritance in Python

Stephan Diehl stephan.diehlNOSPAM at gmx.net
Fri Jan 9 12:54:59 CET 2004


Tobias Windeln wrote:

> Hi!
> 
> I'm looking for suggestions on object-based inheritance
> in Python. Automatic forwarding (often called delegation)
> in Python is easy:
> 

Have a look at Hans Nowaks 'selfish' implementation:
http://zephyrfalcon.org/download/selfish-0.4.2.zip

This is a pythonesque interpretation of the 'self' language by Sun.
By the way, if you are googling, you want probably look for 'prototype based
languages'.



More information about the Python-list mailing list