python classes dependant on eachother, how to init?
<p>I have two classes:</p>

<pre>
class A(object):
  def __init__(self, b):
    self b = b

class B(object):
  def __init__(self, a):
    self a = a
</pre>

<p>I'd like to init them like this:</p>

<pre>
a = A(b)
b = B(a)
</pre>

<p>But I can't since 'b' doesn't exist when doing <code>a = A(b)</code>. I have to do:</p>

<pre>
a = A()
b = B(a)
b.a = a
</pre>

<p>But that seems unclean. Is this solvable?</p>
