[Python-Dev] PEP 435 - requesting pronouncement

Victor Stinner victor.stinner at gmail.com
Sun May 5 15:51:10 CEST 2013


I'm unhappy with this API. I never used it. It is also more verbose than
the functional API.

Victor

Le dimanche 5 mai 2013, Antoine Pitrou a écrit :

> On Sat, 4 May 2013 15:04:49 -0700
> Eli Bendersky <eliben at gmail.com <javascript:;>> wrote:
> > Hello pydev,
> >
> > PEP 435 is ready for final review. A lot of the feedback from the last
> few
> > weeks of discussions has been incorporated.
>
> I still would like to see Nick's class-based API preferred over the
> functional API:
>
>    class Season(Enum, members='spring summer autumn'):
>       pass
>
> The PEP doesn't even mention it, even though you got significant
> pushback on the proposed _getframe() hack for pickling (including
> mentions that IronPython and Cython may not support it), and nobody
> seemed to be unhappy with the class-based proposal.
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org <javascript:;>
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130505/1ab8680f/attachment.html>


More information about the Python-Dev mailing list