-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected attributes "size" and "compute" #262
Comments
That seems like it was added by the interpreter you are using. Are you using ipython or something other than standard cpython console? |
Thank you, you are right. It's from iPython in Spyder IDE. I checked in regular python and it does not occur. Interestingly, these attributes are not only printed, but they have actually been added to the object, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it correct?
In [1]: from box import Box
In [2]: test = Box(default_box=True)
In [3]: test
Out[3]: Box({'size': {'compute': {}}})
In [4]: test.keys()
Out[4]: dict_keys(['size'])
Python 3.11.6
Box 7.1.1
The text was updated successfully, but these errors were encountered: