title: Python printing attributes with no __dict__
body: <p>I am having trouble with scripting bridge for python</p>
  
  <p>I am trying to list the attributes of the iTunes object</p>
  
  <pre><code>iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
  </code></pre>
  
  <p>using </p>
  
  <pre><code>&gt;&gt;&gt; from pprint import pprint
  &gt;&gt;&gt; from Foundation import *
  &gt;&gt;&gt; from ScriptingBridge import *
  &gt;&gt;&gt; iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
  &gt;&gt;&gt; pprint (vars(iTunes))
  </code></pre>
  
  <p>I get back </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  TypeError: vars() argument must have __dict__ attribute
  </code></pre>
  
  <p>anyone know how to get around this?</p>