Skip to content

bug: Code Editor 'hides' long output (eg. pint quantities with physical units) #87

@michaelweinold

Description

@michaelweinold

Description of the bug

To Reproduce

import pint
ureg = pint.UnitRegistry()
mydict={'A':100.123456789 * ureg.kg,'B': 200.123456789}
mydict

returns

{'A': , 'B': 200.12345678912345}

but accessing the individual dictionary entries works fine:

import pint
ureg = pint.UnitRegistry()
mydict={'A':100.123456789 * ureg.kg,'B': 200.123456789}
mydict['A']

returns

100.123456789 kilogram

Full traceback

Full traceback
PASTE TRACEBACK HERE

Expected behavior

Environment information

python -m markdown_exec.debug  # | xclip -selection clipboard

PASTE MARKDOWN OUTPUT HERE

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions