7 Jun
2016
7 Jun
'16
11:27 p.m.
On Jun 7, 2016, at 4:12 PM, Nick Coghlan <ncoghlan@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