Menu

#560 automatic handling of cell_contents variable for ironpython

open
nobody
None
5
2011-12-29
2011-12-29
Anonymous
No

Situation:
In ironPython lots of objects are wrapped in cell objects (cell: <cell at 46: IrrlichtDevice object at 47> http://prntscr.com/4xrn3 ). I did not study what this cell thing is exactly, but surely it is very annoying. See following screenshot: http://prntscr.com/4xrnj As you can see variable 'device' itself is a cell, which has member 'cell_contents' of type 'IrrlichtDevice'. Now in this context these cells introduce one additional click to see contents of real 'device' variable.

Feature request:
cell_contents should be made invisible to the programmer except maybe for some tiny hint somewhere, tho i am not sure if such information would be relevant to anyone.

Steps:
1. Variables view should hide cell_contents variable and display its contents as they belonged to main variable ('device' in provided example)
2. interactive console should allow using 'device' directly (now we must use device.cell_contents in the console in order to not get an exception)
Might be more that i am not aware of.

Thanks!

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.