Hello,<br><div class="gmail_quote"><div><div class="h5"><br><div class="gmail_quote"><div class="gmail_quote">I have a class with  
__array_priority__ = 1000, and I have found that multiplying it with a 
ndarray on the left invokes __len__ and __get__ item (if the length of 
the right side > 1) before invoking __rmul__ for my object. This 
seems odd to me. I understood that ndarray would defer to whichever 
class had the larger __array_priority__. What am I missing?<br>

<br>This behavior is somewhat problematic for me because __getitem__ 
records the existence of the objects it creates and holds on to them, so
 I have extra objects floating around that I would rather not have. Is 
there a way I can stop this?<br>

<br>Best Regards,<br> John Salvatier<div style="display: inline;"></div>
<div style="display: inline;"></div>
<br></div><br><div style="display: inline;"></div>
<br></div><br><div style="display: inline;"></div>
</div></div></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>