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

Segfault with python 3.9 expressions #1572

Closed
nickroci opened this issue Oct 9, 2021 · 0 comments
Closed

Segfault with python 3.9 expressions #1572

nickroci opened this issue Oct 9, 2021 · 0 comments

Comments

@nickroci
Copy link
Contributor

nickroci commented Oct 9, 2021

from perspective import Table

tbl = Table({"a": [1, 2, 3], "b": ["a", "b", "c"]}, index="a")
tbl.view(expressions=['if("b"==1, 1, 2)']) # fine
tbl.view(expressions=['if("b"=='a', 1, 2)']) # segfault

I've only tested this in 3.9 and it seems to work fine on the python side

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

No branches or pull requests

1 participant