I'm unhappy with this API. I never used it. It is also more verbose than the functional API.<div><br></div><div>Victor<span></span><br><br>Le dimanche 5 mai 2013, Antoine Pitrou  a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, 4 May 2013 15:04:49 -0700<br>
Eli Bendersky <<a href="javascript:;" onclick="_e(event, 'cvml', 'eliben@gmail.com')">eliben@gmail.com</a>> wrote:<br>
> Hello pydev,<br>
><br>
> PEP 435 is ready for final review. A lot of the feedback from the last few<br>
> weeks of discussions has been incorporated.<br>
<br>
I still would like to see Nick's class-based API preferred over the<br>
functional API:<br>
<br>
   class Season(Enum, members='spring summer autumn'):<br>
      pass<br>
<br>
The PEP doesn't even mention it, even though you got significant<br>
pushback on the proposed _getframe() hack for pickling (including<br>
mentions that IronPython and Cython may not support it), and nobody<br>
seemed to be unhappy with the class-based proposal.<br>
<br>
Regards<br>
<br>
Antoine.<br>
<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Python-Dev@python.org')">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com" target="_blank">http://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com</a><br>
</blockquote></div>