<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#330033" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/5/2013 12:10 AM, Glenn Linderman
wrote:<br>
</div>
<blockquote cite="mid:518605DD.1010404@g.nevcal.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 5/4/2013 11:46 PM, Glenn Linderman
wrote:<br>
</div>
<blockquote cite="mid:5186005D.7060409@g.nevcal.com" type="cite">Somehow,
the overloading is not finding the __add__ operator in the
NamedInt class, when the NamedInt's are wrapped in enumerations.</blockquote>
<br>
And I guess I figured it out... NamedInt needs to test<br>
<br>
issubclass( type( self ), NamedInt )<br>
<br>
rather than <br>
<br>
isinstance( self, NamedInt )<br>
<br>
and likewise for other. Sorry for the noise, and I finally
figured out what issubclass is for :)<br>
</blockquote>
Sorry, it is getting late here... issubclass was not the cure I
thought it might be.<br>
</body>
</html>