I think I should make this method a little more common and have it respect show_magic (in ModuleValue and TypeValue) and object depth and stuff.
Basically, I wanted to make classes show properties and it was a bit more work than I expected, including switching TypeValue to extending ObjectValue so I could get access to ._is_magic, .info, .finalize_value and things like that.
I think I should make this method a little more common and have it respect
show_magic
(in ModuleValue and TypeValue) and object depth and stuff.Basically, I wanted to make classes show properties and it was a bit more work than I expected, including switching
TypeValue
to extendingObjectValue
so I could get access to._is_magic
,.info
,.finalize_value
and things like that.