[pypy-dev] Re: [pypy-svn] r16070 - pypy/dist/pypy/objspace/std

Eric van Riet Paap eric at vanrietpaap.nl
Mon Aug 15 10:54:01 CEST 2005


Armin Rigo wrote:

>Hi Eric,
>
>On Mon, Aug 15, 2005 at 10:35:16AM +0200, Eric van Riet Paap wrote:
>  
>
>>Because this is a function with suggested_primitive tag attached, the
>>backends will have to implement them.
>>If we do not use the parameter types consistently, the backends will
>>have to implement multiple versions.
>>The fact that this is applevel does not play a role here, as far as I
>>can see.
>>    
>>
>
>Precisely not: app-level code is normal full Python code; the back-end
>never sees it.  This 'math.log10()' is from our mixed module math, not
>from the back-end.
>  
>
I am sure you are right!
But why then did I get a call to ll_math_log10(int 2) in the backend?

Eric

>
>Armin.
>_______________________________________________
>pypy-dev at codespeak.net
>http://codespeak.net/mailman/listinfo/pypy-dev
>  
>




More information about the Pypy-dev mailing list