title: Accessing parent class attribute from sub-class body
body: <p>I have a class <code>Klass</code> with a class attribute <code>my_list</code>. I have a subclass of it <code>SubKlass</code>, in which i want to have a class attribute <code>my_list</code> which is a modified version of the same attribute from parent class:</p>
  
  <pre><code>class Klass():
      my_list = [1, 2, 3]
  
  
  class SubKlass(Klass):
      my_list = Klass.my_list + [4, 5] # this works, but i must specify parent class explicitly
      #my_list = super().my_list + [4, 5] # SystemError: super(): __class__ cell not found
      #my_list = my_list + [4, 5] # NameError: name 'my_list' is not defined 
  
  
  print(Klass.my_list)
  print(SubKlass.my_list)
  </code></pre>
  
  <p>So, is there a way to access parent class attribute without specifying its name?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>There is a bug on Python issue tracker: <a href="http://bugs.python.org/issue11339" rel="noreferrer">http://bugs.python.org/issue11339</a> . Let's hope it will be <a href="http://ericsnowcurrently.blogspot.com/2013/12/goals-for-python-35.html" rel="noreferrer">solved</a> at some point.</p>