I'd like to know if it is possible, and how to get the module name and class name where an object is instantiated.
For example:
class cool_ice:
"code to get instantiating metadata"
pass
class A:
obj = cool_ice()
It would be nice to know that when cool_ice is instantiated in any class, there is some metadata about which class and which module the instantiation happened at.
So desired output could be like: Instantiation happened in class A, and under module xyz