<br><br><div class="gmail_quote">2011/11/11 Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Nov 11, 2011 at 10:14 AM, Chris Kaynor <<a href="mailto:ckaynor@zindagigames.com">ckaynor@zindagigames.com</a>> wrote:<br>
> Continuing this OT discussion, would it be a brain transplant, or a<br>
> full body transplant?<br>
<br>
</div>It's just a rebinding. You don't move the body, you just bind your<br>
name to a new body. It's perfectly legal to have two names bound to<br>
one body (cf Dr Jekyll and Mr Hyde); if you murder Mr Hyde, you can<br>
still access the body through the other name.<br><br></blockquote><div>This is association, not aggregation or composition. You already realized that there is difference between these relationship(depending on your application requirement). and you are trying to tell me to code a aggregation and the composition with the same code.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
ChrisA<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>