Skip to content

BUG: Exceptions not propagated from c_is_list_like in lib.pyx #33721

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

Closed
shwina opened this issue Apr 22, 2020 · 2 comments · Fixed by #33723
Closed

BUG: Exceptions not propagated from c_is_list_like in lib.pyx #33721

shwina opened this issue Apr 22, 2020 · 2 comments · Fixed by #33723
Labels
Bug Segfault Non-Recoverable Error
Milestone

Comments

@shwina
Copy link
Contributor

shwina commented Apr 22, 2020

Python exceptions originating in c_is_list_like() are not propagated as the function doesn't declare an exception value (except -1).

https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/lib.pyx#L988

@shwina shwina added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 22, 2020
@jbrockmendel
Copy link
Member

Can you give an example of where the problem shows up?

@shwina
Copy link
Contributor Author

shwina commented Apr 22, 2020

@jbrockmendel Unfortunately I'm not able to reproduce easily at this moment. I left a comment here that hopefully sheds some light on the issue.

@jreback jreback added this to the 1.1 milestone Apr 27, 2020
@jreback jreback added Segfault Non-Recoverable Error and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Segfault Non-Recoverable Error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants