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
conflict on accessing dict methods/attributes #5
Comments
the |
Yes, @jxnl, that's a good idea! |
#14 seems to fix the issue. let me know about any style issues |
This is fixed by ec26acb. Thanks @jxnl and @yedpodtrzitko |
Wait what? You consider this as resolved by raising an exception? That makes it totally unusable Imagine the situation: I got a dictionary from a frontend and now everything explodes, because it contains |
Hey, @yedpodtrzitko. You can still insert and read keys with protected names, but you would have to do that by using the get/set item syntax. >>> a = Dict()
>>> a['items'] = [1, 2, 3]
>>> a
{'items': [1, 2, 3]}
>>> a['items']
[1, 2, 3] So relax. Nothing explodes. |
oh... good |
Hope this works for you, @yedpodtrzitko 👍 |
The text was updated successfully, but these errors were encountered: