title: Subclassing a class with private members
body: <p>One of the really nice things about python is the simplicity with which you can name variables that have the same name as the accessor:</p>
  
  <pre><code>self.__value = 1
  
  def value():
      return self.__value
  </code></pre>
  
  <p>Is there a simple way of providing access to the private members of a class that I wish to subclass? Often I wish to simply work with the raw data objects inside of a class without having to use accessors and mutators all the time.</p>
  
  <p>I know this seems to go against the general idea of private and public, but usually the class I am trying to subclass is one of my own which I am quite happy to expose the members from to a subclass but not to an instance of that class. Is there a clean way of providing this distinction?</p>