[Python-Dev] PEP 447: add type.__locallookup__
Ronald Oussoren
ronaldoussoren at mac.com
Mon Jul 29 15:26:41 CEST 2013
On 29 Jul, 2013, at 15:07, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
> On 29 Jul, 2013, at 14:58, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
>>
>> Hi,
>>
>> Le Mon, 29 Jul 2013 14:49:18 +0200,
>> Ronald Oussoren <ronaldoussoren at mac.com> a écrit :
>>> 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/
>
> Sure.
That's harder than I had expected, when I use the "make_perf3.sh" to create
a python 3 compatible version of the benchmark suite and then run the suite
it craps out because it cannnot find "spitfire", which isn't translated
(as are several other benchmarks).
I'll have to investigate why the suite doesn't work.
Ronald
>
> Ronald
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ronaldoussoren%40mac.com
More information about the Python-Dev
mailing list