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/2008-March/077977.html below:

[Python-Dev] Not backporting PEP 3115 (metaclass __prepare__)

[Python-Dev] Not backporting PEP 3115 (metaclass __prepare__) [Python-Dev] Not backporting PEP 3115 (metaclass __prepare__)Guido van Rossum guido at python.org
Fri Mar 21 07:31:49 CET 2008
On Tue, Mar 18, 2008 at 10:14 PM, Jack Diederich <jackdied at jackdied.com> wrote:
> We can't backport the __prepare__ syntax without requiring metaclass
>  definition on the 'class' line.  Because the __metaclass__ definition
>  can be at the end of the class in 2.6 we can't find it until after we
>  execute the class and that is too late to use a custom dictionary.

That's fine. We need some carrots to encourage people to upgrade too. :-)

>  I wish I had thought of that yesterday,

Me too...

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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