Skip to content

DEP: Issue FutureWarning when malformed records detected. #10558

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

Merged
merged 1 commit into from
Feb 9, 2018

Conversation

charris
Copy link
Member

@charris charris commented Feb 9, 2018

Backport of #10543.

Currently records specified as lists of lists instead of lists of tuples
are caught and fixed up in fromrecords. Unfortunately, the detection is
failing due to various fixes in the records module. The failure is
worked around by generalizing the detection. A FutureWarning that such
record specifications will result in an error in the future is also
emitted.

Fixes #10344.

Currently records specified as lists of lists instead of lists of tuples
are caught and fixed up in fromrecords. Unfortunately, the detection is
failing due to various fixes in the records module. The failure is
worked around by generalizing the detection. A FutureWarning that such
record specifications will result in an error in the future is also
emitted.

Fixes numpy#10344.
@charris charris added this to the 1.14.1 release milestone Feb 9, 2018
@ahaldane
Copy link
Member

ahaldane commented Feb 9, 2018

Note this is a backport of #10543

Merging, thanks Chuck!

@ahaldane ahaldane merged commit 775e54d into numpy:maintenance/1.14.x Feb 9, 2018
@charris charris deleted the warn-malformed-data branch February 9, 2018 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants