[Python-Dev] Updated: PEP 359: The make statement

Steven Bethard steven.bethard at gmail.com
Tue Apr 18 21:30:04 CEST 2006


On 4/18/06, Steven Bethard <steven.bethard at gmail.com> wrote:
> I've updated PEP 359 with a bunch of the recent suggestions.  The
> patch is available at:
>     http://bugs.python.org/1472459
> and I've pasted the full text below.
>
> I've tried to be more explicit about the goals -- the make statement
> is mostly syntactic sugar for::
>
>    class <name> <tuple>:
>        __metaclass__ = <callable>
>        <block>
>
> so that you don't have to lie to your readers when you're not actually
> creating a class.  I've also added some new examples and expanded the
> discussion of the old ones to give the statement some better
> motivation.  And I've expanded the Open Issues discussions to consider
> a few alternate keywords and to indicate some of the difficulties in
> allowing a ``__make_dict__`` attribute for customizing the dict in
> which the block is executed.

Guido has pronounced on this PEP:
    http://mail.python.org/pipermail/python-3000/2006-April/000936.html
Consider it dead. =)

STeVe
--
Grammar am for people who can't think for myself.
        --- Bucky Katt, Get Fuzzy


More information about the Python-Dev mailing list