A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063862.html below:

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

[Python-Dev] Updated: PEP 359: The make statement [Python-Dev] Updated: PEP 359: The make statementSteven 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4