introspection question: get return type

2009-05-14 Thread flamz3d
Hello, I am wondering if it's possible to get the return value of a method *without* calling it using introspection? something like this, suppose I want to know the type of the return value for the method "getsomething". Is it possible to get it without actually calling 'getsomething'? ex: import

Re: AutoComplete in C++ Editor for Python

2009-05-04 Thread flamz3d
On May 3, 3:14 pm, Dave Angel wrote: > flam...@gmail.com wrote: > > Hello, > > I am embedding python support in my C++ application and was looking at > > adding "Intellisense" or "AutoComplete" support. > > > I found a way to do it using the "dir" function, but this creates a > > problem. Here's w

AutoComplete in C++ Editor for Python

2009-05-03 Thread flamz3d
Hello, I am embedding python support in my C++ application and was looking at adding "Intellisense" or "AutoComplete" support. I found a way to do it using the "dir" function, but this creates a problem. Here's why. Let's say I have the following code in my editor: import sys x = sys Now, I wou