[Python-Dev] PEP: Ordered Class Definition Namespace
Eric Snow
ericsnowcurrently at gmail.com
Tue Jun 7 14:53:53 EDT 2016
More information about the Python-Dev mailing list
Tue Jun 7 14:53:53 EDT 2016
- Previous message (by thread): [Python-Dev] PEP: Ordered Class Definition Namespace
- Next message (by thread): [Python-Dev] PEP: Ordered Class Definition Namespace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] PEP: Ordered Class Definition Namespace
- Next message (by thread): [Python-Dev] PEP: Ordered Class Definition Namespace
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list