<div dir="ltr">Hello,<br><br>i know this has been discusses very much, i&#39;m sorry,<br>but i can&#39;t help it. In a nutshell, the proposal is as<br>follows:<br><br>1. Self remains explicit (like it is now).<br>2. if a class is a subclass of a special class, e.g.<br>
&nbsp;&nbsp; named &#39;selfless&#39;, the self parameter is not required<br>&nbsp;&nbsp; and a special variable, named &#39;this&#39; is provided.<br><br><br>For example:<br><br>class Foo (selfless):<br>&nbsp;&nbsp;&nbsp; def __init__ (x, y):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.x = x<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br><br>A patch for 3.0b3 implementing this can be found at<br><a href="http://www-lehre.inf.uos.de/~kklimek/misc/python_slp_8.diff">http://www-lehre.inf.uos.de/~kklimek/misc/python_slp_8.diff</a><br><br>regards,<br>
Kilian Klimek<br></div>