evaluate expression: formatting of selected item in custom dict

If you right-click a desired variable in the variables tab of the pycharm debugger and select evaluate expression, an expression is automatically created to evaluate the value. 
But in below case, pycharm debugger cannot automatically create proper expression.

Because Test is class that inherits dict, _pydevd_bundle.pydevd_resolver.DictResolver.get_dictionary makes item key to f"'{key}' ({id(key)})" form. It is resolved well almost every case except evaluating selected variable expression. 
If it is not a native dict, is not automatic formatting possible to form like test['key']?
I think the code that creates the selected variable to expression format  exists somewhere in the pydev module, and I want to know the location of that code.
or.. if there is another solution, what can I try?

Please sign in to leave a comment.