<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 4/25/2013 9:19 PM, Guido van Rossum
wrote:<br>
</div>
<blockquote
cite="mid:CAP7+vJL9kFBKvDNHQs3DDgMb3P7aYsCG_pmtXTEGVi=ULXLNsg@mail.gmail.com"
type="cite">
<pre wrap="">On Thu, Apr 25, 2013 at 8:39 PM, Glenn Linderman <a class="moz-txt-link-rfc2396E" href="mailto:v+python@g.nevcal.com"><v+python@g.nevcal.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">an enumeration of objects whose class defines __call__ would
not be so weird.
</pre>
</blockquote>
<pre wrap="">
Seriously? You'd complexificate the basic usage in order to cater for
such an esoteric use case? The *only* use cases that matter at all for
enum values are ints and strings, and even the latter could be
considered a luxury when compared to other languages' enums.
</pre>
</blockquote>
<br>
No, I'd look for a solution/implementation that doesn't divide
objects into "plain" and "esoteric" cases. Py3 now treats everything
as objects. So an enumeration should be able to deal with any object
as a value.<br>
</body>
</html>