Extending a decorated class in Python
<p>Is it possible to extend a class which has a decorator applied to it?  For example:</p>

<pre><code>@someDecorator
Class foo(object):
  ...
  ...

Class bar(foo):
  ...
  ...
</code></pre>

<p>Ideally bar would not be affected by the decorator, but first I want to find out if this is even possible.  Currently I am getting a non-runtime error: </p>

<p>"TypeError: Error when calling the metaclass bases
    function() argument 1 must be code, not str
"</p>

<p>Any suggestions?</p>
