8000 _repr_mimebundle_ added to the keys if executed from IPython · Issue #73 · drgrib/dotmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
_repr_mimebundle_ added to the keys if executed from IPython #73
Open
@Kreol64

Description

@Kreol64

Hi,

I have a weird behavior when I execute the below code in IPython console (I use IntelliJ interactive console):

from dotmap import DotMap
d = DotMap({'a': 3}) 
d

This returns:

DotMap(a=3, _repr_mimebundle_=DotMap())

And if I test the number of keys:

print(len(d))

I get 2

I cannot reproduce this behavior in regular console, only with IPython

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0