Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jan 18, 2018

KeyError suggests the field name does not exist, which is inaccurate.

This is a new error as of 1.14, so I think we can change its type without needing to consider back-compat.

Backportable here

@eric-wieser
Copy link
Member Author

Actually, this is a backcompat fix: On 1.13, this gave:

ValueError: name already used as a name or title

KeyError suggests the field name does not exist, which is inaccurate.
@eric-wieser eric-wieser force-pushed the duplicate-field-name-error branch from 66434d9 to 47c4f32 Compare January 18, 2018 09:41
Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Will merge.

@mhvk mhvk merged commit 1062cb2 into numpy:master Jan 18, 2018
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 18, 2018
@charris charris removed this from the 1.14.1 release milestone Jan 27, 2018
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.

3 participants