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/2007-April/072748.html below:

[Python-Dev] new metaclass error condition checks

[Python-Dev] new metaclass error condition checks [Python-Dev] new metaclass error condition checksArmin Rigo arigo at tunes.org
Tue Apr 24 11:32:39 CEST 2007
Hi Jean-Paul,

On Mon, Apr 16, 2007 at 06:53:20PM -0400, Jean-Paul Calderone wrote:
> I just noticed r53997 (from some unit tests it broke), which disallowed things
> like this:
> 
>     class X(object):
>         def __repr__(self):
>             return "blah"
> 
>     class Y(X, type):
>         pass
> 
>     class Z:
>         __metaclass__ = Y

This is now valid again: I reverted r53997, as I got no answer to
http://mail.python.org/pipermail/python-dev/2007-March/071796.html .


A bientot,

Armin.
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