You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spyder Version: 2.2.0dev
Python Version: 2.7.2
Qt Version: 4.7.4, PyQt4 (API v1) 4.8.6 on Windows
What steps will reproduce the problem?
Type hints are not available in the following code scenario:
def function( x, y ):
z = MyType()
z. # Yay, call tips!
x. # No call tips here!
A few different IDEs seem to be using a similar approach to providing type inferences like such:
def function( x, y ):
z = MyType()
z. # Yay, call tips!
assert isinstance( x, MyOtherType )
x. # Yay, now I have call tips!
From [email protected] on 2012-03-09T17:42:50Z
Spyder Version: 2.2.0dev
Python Version: 2.7.2
Qt Version: 4.7.4, PyQt4 (API v1) 4.8.6 on Windows
What steps will reproduce the problem?
Type hints are not available in the following code scenario:
def function( x, y ):
z = MyType()
z. # Yay, call tips!
x. # No call tips here!
A few different IDEs seem to be using a similar approach to providing type inferences like such:
def function( x, y ):
z = MyType()
z. # Yay, call tips!
assert isinstance( x, MyOtherType )
x. # Yay, now I have call tips!
I started a thread previously about this issue here: http://groups.google.com/group/spyderlib/browse_thread/thread/90d7785c775bf0aa I also briefly asked about the possibility of this on the rope groups here: http://groups.google.com/group/rope-dev/browse_thread/thread/2c214d37df2f7242# Not knowing much about rope this didn't mean too much to me.
This is a very compelling feature to have!
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=968
The text was updated successfully, but these errors were encountered: