Variable containing object is not defined in console
I sometimes use the Jupyter QtConsole integrated in OpenSesame to debug my code, and I noticed that some variables that should be accessible were indicated as "not defined" by the console (see screenshot capture below).
After a few tries, I realized that the variables that the console didn't find were always variables containing an object, like a canvas, or an object of a custom class as simple as the one below.
class MyObject(): num = 1 myObj = MyObject()
You will find attached a minimal example to reproduce the problem.
Is this a bug, or is there a reason for this?
Thanks for your help.