On Mar 27, 6:05 am, Bruno Desthuilliers wrote:
> Gabriel Rossetti a écrit :
>
>
>
>
>
> > Bruno Desthuilliers wrote:
> >> Gabriel Rossetti a écrit :
> (snip)
> >>> registerServiceAtomic = partial(__registerService, True)
> >>> registerServiceNonAtomic = partial(__registerService, False)
>
> >>>
Gabriel Rossetti a écrit :
> Bruno Desthuilliers wrote:
>> Gabriel Rossetti a écrit :
(snip)
>>> registerServiceAtomic = partial(__registerService, True)
>>> registerServiceNonAtomic = partial(__registerService, False)
>>>
>>> I should pass self when applying partial, but then I can't do that
>>
Bruno Desthuilliers wrote:
> Gabriel Rossetti a écrit :
>> Hello,
>>
>> I am using Partial Function Application in a class and I've come up
>> with a problem, when the method is called it tries to pass "self" to
>> the curried/partial function, but this should be the first argument
>> in reality
Gabriel Rossetti wrote:
>
> Gabriel Rossetti wrote:
>> Hello,
>>
>> I am using Partial Function Application in a class and I've come up with
>> a problem, when the method is called it tries to pass "self" to the
>> curried/partial function, but this should be the first argument in
>> reality, but
Gabriel Rossetti a écrit :
>
> Gabriel Rossetti wrote:
>> Hello,
>>
>> I am using Partial Function Application in a class and I've come up
>> with a problem, when the method is called it tries to pass "self" to
>> the curried/partial function, but this should be the first argument in
>> reality
En Thu, 27 Mar 2008 05:40:30 -0300, Gabriel Rossetti
<[EMAIL PROTECTED]> escribió:
>>> if(atomic):
>>># Lock the service dict and register the service, then unlock it
>>>self.__mutex.lock(reg, service)
>>>self.__mutex.unlock()
I see that you've already solved yo
Diez B. Roggisch wrote:
> Gabriel Rossetti schrieb:
>
>> Hello,
>>
>> I am using Partial Function Application in a class and I've come up with
>> a problem, when the method is called it tries to pass "self" to the
>> curried/partial function, but this should be the first argument in
>> realit
Gabriel Rossetti wrote:
> Hello,
>
> I am using Partial Function Application in a class and I've come up with
> a problem, when the method is called it tries to pass "self" to the
> curried/partial function, but this should be the first argument in
> reality, but since the function is curried,
Gabriel Rossetti schrieb:
> Hello,
>
> I am using Partial Function Application in a class and I've come up with
> a problem, when the method is called it tries to pass "self" to the
> curried/partial function, but this should be the first argument in
> reality, but since the function is curried
Hello,
I am using Partial Function Application in a class and I've come up with
a problem, when the method is called it tries to pass "self" to the
curried/partial function, but this should be the first argument in
reality, but since the function is curried, then the self gets passed as
the se
10 matches
Mail list logo