The Python multi-dispatch dilemma

Discussions concerning programming of SOFTIMAGE©
Post Reply
User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

The Python multi-dispatch dilemma

Post by Hirazi Blue » 07 Jun 2010, 10:15

I originally posted this in the ET_AnimStore thread, but I think it's worth it's own thread...
The whole Python Dispatch fix issue still confuses me:
The problem originates
due to XSI returning an object with an incorrectly set multi-dispatch interface (quoted from here)
However, the Softimage WIKI states the following:
In versions prior to v6.0 XSI sometimes returned objects with an incorrectly set (as per PythonWin standards) multi-dispatch interface. This problem has been fixed in v6.0. (quoted from here)
So maybe someone could answer this question once and for all:
is the good-old mult-dispatch fix still necessary, or not? :-\
And as EricTRocks has already written a version of his plugin, that doesn't need the Python Dispatch fix, I wonder, if it's totally avoidable to resort to programming constructs that need the "fix"?

Lastly: if the fix is really still needed in many cases, why hasn't Softimage edited the win32com file themselves in the Python that comes installed with Softimage 2011.
:-?
Stay safe, sane & healthy!

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: The Python multi-dispatch dilemma

Post by Hirazi Blue » 21 Jun 2010, 10:24

Thanks for all your insightful answers so far... =))
Stay safe, sane & healthy!

Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests