<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/29/2016 01:01 PM, Ivan Levkivskyi
wrote:<br>
</div>
<blockquote
cite="mid:CAOMjWkkBtWgqRMWdQsd9eLJ5F9fMC5sxuA=aLiPK169uo9cjyw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>It looks like the values in AutoNumberEnum are
consecutive integers 1,2,3,...<br>
</div>
Have you considered an option (keyword argument) to change
this to powers of two 1,2,4,8,...?<br>
</div>
</div>
</blockquote>
<br>
Why would you want that? I remind you that this descends from Enum,
so its members won't be directly interchangeable with ints.
Presumably you want a bitfield enum, and those should descend from
IntEnum.<br>
<br>
TBH I'd prefer the AutoNumberEnum *not* have this feature; it's
already a little too magical for my tastes.<br>
<br>
<br>
<i>/arry</i><br>
</body>
</html>