Skip to content
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

Missing del operator for dictionaries #1315

Open
stevenrbrandt opened this issue Feb 12, 2021 · 1 comment · May be fixed by #1316
Open

Missing del operator for dictionaries #1315

stevenrbrandt opened this issue Feb 12, 2021 · 1 comment · May be fixed by #1316

Comments

@stevenrbrandt
Copy link
Member

No support for del

from phylanx import Phylanx

@Phylanx
def foo():
    a = {"a":1, "b":2}
    del a["a"]

foo()

produces

AttributeError: 'PhySL' object has no attribute '_Delete'

Maybe this is a primitive that Karame could implement?

@hkaiser
Copy link
Member

hkaiser commented Feb 12, 2021

First and foremost, this is missing from the frontend, but yah, we would need some backend support as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants