anton muhin wrote:

Correction:

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.

Stupid me. Of course, name magling is impossible and unnecessary. Sorry.

Still the question remains.

with the best regards,
anton.


-- http://mail.python.org/mailman/listinfo/python-list

Reply via email to