title: Using an attribute of the current class instance as a default value for method's parameter
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/13075044/default-value-of-parameter-as-result-of-instance-method">default value of parameter as result of instance method</a></p>
  </blockquote>
  
  <p>While it is possible to set default values to function parameters in python:</p>
  <pre><code>def my_function(param_one='default')
      ...
  </code></pre>
  <p>It seems not to be possible to access the current instance (self):</p>
  <pre><code>class MyClass(..):
  
      def my_function(self, param_one=self.one_of_the_vars):
          ...
  </code></pre>
  <p>My question(s):</p>
  <ul>
  <li>Is this true that I cannot access the current instance to set the default parameter in functions?</li>
  <li>If it is not possble: what are the reasons and is it imaginable that this will be possible in future versions of python?</li>
  </ul>