title: Python object hierarchy; Referencing an owner instance?
body: <p>Is there no magic python way of accessing the instance of the class that has a reference to the current self inside it?
  ie:</p>
  
  <pre><code>class A(object):
      def __init__(self):
          self.B = B()
  
      def say_hi(self):
          print "Hi"
  
  class B(object)
      def __init__(self):
          __get_owner_ref__.say_hi()
  
  A()
  </code></pre>
  
  <p><strong>get_owner_ref</strong> being the magic bullet that does not exist.
  Is there a feature in python for this behaviour?</p>
  
  <p>Yes I know I could pass a reference in to the constructor, but I'm looking for a more elegant solution.</p>