Re: [Pyobjc-dev] Customizing trouble with NSCell & NSTableView
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-05-20 20:24:10
|
I get the impression that at least everyone makes the mistake of forgetting to subclass from the informal protocol at least once. I think I already forgot it twice (and it's probably going to happen again:-). Is there any way we could catch this? The runtime system does notice that it doesn't have a signature for the message it is going to be calling, so it could complain (I assume). I am tempted to say that calling a Python method without a signature is a bug, and we should simply give an error, or are there any normal use cases of calling Python methods without the signature? If so, then could we somehow notify the user of this situation with a (suppressible) warning? -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |