I suppose the problem is that the following is valid (and even used) python code<br><br>C:\>python<br>ActivePython 2.3.2 Build 232 (ActiveState Corp.) based on<br>Python 2.3.2 (#49, Nov 13 2003, 10:34:54) [MSC v.1200 32 bit (Intel)] on win32
<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> class C(object):<br>... def foo(self):<br>... print self<br>...<br>>>> inst = C()
<br>>>> inst.foo()<br><__main__.C object at 0x00944FF0><br>>>> C.foo(inst)<br><__main__.C object at 0x00944FF0><br>>>><br><br>/Simon<br><br>Btw, why do you need both a static and a non-static method with the same name?
<br><br><div><span class="gmail_quote">On 5/8/06, <b class="gmail_sendername">Jonathan Jacobs</b> <<a href="mailto:korpse-ironpython@kaydash.za.net">korpse-ironpython@kaydash.za.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
J. Merrill wrote:<br>> In C# you could use Vector3.Unproject but that might not work in IP. Have you tried it?<br><br>I guess I neglected to mention the part where I explained what I was doing. :)<br><br>Calling
Vector3.Unproject (in an attempt to call the static method) results in<br>a "None" return value, while the first parameter is modified, essentially<br>behaving like the instance method version rather than the static method
<br>version. Either IP thinks this is something like obj.method(objInstance,<br>*args) or it will only try and match the static signature later, which it<br>never gets around to.<br><br>--<br>Jonathan<br><br>_______________________________________________
<br>users mailing list<br><a href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
</a><br></blockquote></div><br>