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/2016-June/144870.html below:

[Python-Dev] PEP: Ordered Class Definition Namespace

[Python-Dev] PEP: Ordered Class Definition Namespace [Python-Dev] PEP: Ordered Class Definition NamespaceEric Snow ericsnowcurrently at gmail.com
Tue Jun 7 14:53:53 EDT 2016
On Tue, Jun 7, 2016 at 11:45 AM, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 06/07/2016 11:13 AM, Eric Snow wrote:
>> A __definition_order__ in the class body always takes precedence.  So
>> a supplied value will be honored (and not replaced with None).
>
> Will the supplied __definition_order__ be made a tuple, and still be
> read-only?

I had planned on leaving a supplied one alone.  So no change to tuple.
It remain a read-only attribute though, since that is handled via a
descriptor (a la type.__dict__).

-eric
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