title: Property getter and context manager
body: <p>I would like to define a property in such a way that whenever it is invoked, it is so done within a context manager. Say, I start with:</p>
  
  <pre><code>@property
  def hangar(self):
      return self._hangar
  </code></pre>
  
  <p>and whenever down the code I write:</p>
  
  <pre><code>res = some_function(self.hangar)
  </code></pre>
  
  <p>I wish it to be evaluated as:</p>
  
  <pre><code>with pandas.HDFStore(...) as hangar:
      some_function(self.hangar)
  </code></pre>
  
  <p>Any ideas?</p>