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
After creating a class variable it does not show up in the Workspace window.
If there is a class D already defined, if you enter a = D() at the Interactive console it does not show up in the Workspace. It would be useful if these were in the Workspace, so that you could double click on these and see the value of their member variables.
The workspace was not designed that way.
In current Spyder release it is only intended to support the most used type of variables : all Python basic types (string, dict, list, ...) + numpy arrays + PIL images
It may be possible to do this (if so then an edit to the documentation would be nice), but you should at least be able to add a watch for an instance variable. For example:
class Animal:
hasRabies=True
Toto=Animal()
I should be able to view Toto.hasRabies in my variable explorer, this shouldn't be too bad to implement (probably a string splice on the first '.' and/or eval would do it) and would be a step towards implementing the original enhancement.
From [email protected] on 2010-08-12T12:16:39Z
After creating a class variable it does not show up in the Workspace window.
If there is a class D already defined, if you enter a = D() at the Interactive console it does not show up in the Workspace. It would be useful if these were in the Workspace, so that you could double click on these and see the value of their member variables.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=291
The text was updated successfully, but these errors were encountered: