Nick Coghlan wrote:[color=blue]
> anton muhin wrote:
>[color=green]
>> anton muhin wrote:
>>
>> Correction:
>>[color=darkred]
>>> Of course, I can imagine some metaclasses magic that would allow to
>>> code:
>>>
>>> class MyClass(WithOverloading):
>>> @overloadMethod(A)
>>> def someMetod(self, _): ...
>>>
>>> But it would rather convoluted: the best idea I have so far is to
>>> mangle methods name in the manner most of C++ compilers do.[/color][/color]
>
>
> PEAK has a fairly sophisticated implementation of method dispatch you
> may want to look at.
>
>
http://peak.telecommunity.com/Articles/WhatisPEAK.html
>
http://dirtsimple.org/2004/11/generi...ve-landed.html
>
http://peak.telecommunity.com/doc/sr.../__init__.html
>
> I'm compelled to point out that PEAK should still be considered a 'work
> in progress', but PJE's ideas should help you out :)
>
> Cheers,
> Nick.
>[/color]
Thank you very much, Nick!
anton.