Is there a method like '__getattribute__' for class (not instance) variables?
<p>I have a class <code>sysprops</code> in which I'd like to have a number of constants.  However, I'd like to pull the values for those constants from the database, so I'd like some sort of hook any time one of these class constants are accessed (something like the <strong>getattribute</strong> method for instance variables).</p>

<pre><code>class sysprops(object):
    SOME_CONSTANT = 'SOME_VALUE'

sysprops.SOME_CONSTANT  # this statement would not return 'SOME_VALUE' but instead a dynamic value pulled from the database.
</code></pre>
