[Python-Dev] PEP: Ordered Class Definition Namespace
Raymond Hettinger
raymond.hettinger at gmail.com
Wed Jun 8 00:27:35 EDT 2016
More information about the Python-Dev mailing list
Wed Jun 8 00:27:35 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 Jun 7, 2016, at 4:12 PM, Nick Coghlan <ncoghlan at gmail.com> wrote: > > By the time decorators run, the original execution namespace is no > longer available - the contents have been copied into the class dict, > which will still be a plain dict (and there's a lot of code that calls > PyDict_* APIs on tp_dict, so replacing the latter with a subclass is > neither trivial nor particularly safe in the presence of extension > modules). That makes sense. +1 all around. Raymond
- 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