> But, as there is no case where AAA can be used without BBB, I would > like to avoid importing BBB in my Python scripts when I already import > AAA.
Then why do you need to explicitely pass BBB() to AAA constructor? You could leave AAA constructor with no parameters or with a parameter with a default BBB() value -- http://mail.python.org/mailman/listinfo/python-list