29 Jul
2013
29 Jul
'13
12:58 p.m.
Hi,
Le Mon, 29 Jul 2013 14:49:18 +0200,
Ronald Oussoren
Hi,
This PEP proposed to add a __locallookup__ slot to type objects, which is used by _PyType_Lookup and super_getattro instead of peeking in the tp_dict of classes. The PEP text explains why this is needed.
Differences with the previous version:
* Better explanation of why this is a useful addition
* type.__locallookup__ is no longer optional.
* I've added benchmarking results using pybench. (using the patch attached to issue 18181)
Could you please run the whole benchmark suite? http://hg.python.org/benchmarks/ Thanks Antoine.