title: How to ignore/overwrite setters in Python?
body: <p>I have a Requests response object, <em>r</em>. <em>r</em> gets passed into a callback function as an argument. I want to perform an action on <em>r.text</em>, and then return the full <em>r</em> object.</p>
  
  <p>However, when I try to reassign <em>r.text</em>, </p>
  
  <pre><code>AttributeError: can't set attribute
  </code></pre>
  
  <p>is thrown</p>