|
From: Phillip J. E. <pj...@te...> - 2001-07-15 19:33:53
|
At 09:11 PM 7/15/01 +0200, Samuele Pedroni wrote:
>I'm fine with your version, but I don't really see what was the problem with
>mine,
>maybe the posted stuff was not readable but code logic was:
>
>if (!(bases[i] instanceof PyClass)) {
> // old logic
>} else /* so bases[i] is/derives from PyClass */ if (bases[i] instanceof
>org.python.util.PyMetaClass) {
> // meta-class logic
>}
>
>so the new code is triggered by subclasses of PyClass implementing PyMetaClass
>...
Oops. You're right. My brain read your version as "if (bases[i]
instanceof PyClass)", which is not what you actually wrote. Either version
should work. Mea culpa.
|