def _block_stack_repr(self, block_stack):
        blocks = ", ".join(
            ["(%s, %r)" % (dis.opname[b[0]], b[1]) for b in block_stack]
        )
        return "[" + blocks + "]"
Fixes popup when use in a GraphicsView. See:
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/coverage/parser.py/ByteParser._block_stack_repr--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/modules/constant_configuration.py/StandardConstantEnumWidget.showPopup