-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Regression in read csv causing segfault for invalid file input #46325
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
Conversation
pandas/io/parsers/readers.py
Outdated
@@ -1710,6 +1710,10 @@ def _make_engine( | |||
assert self.handles is not None | |||
f = self.handles.handle | |||
|
|||
elif not engine == "python": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick "!="?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, no idea why I was using the not syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks @phofl |
@meeseeksdev backport 1.4.x |
… for invalid file input
Something went wrong ... Please have a look at my logs. |
…id file input (#46333) Co-authored-by: Patrick Hoefler <[email protected]>
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.