Skip to content

BUG: Remove stray print that causes a SystemError on python 3.7 . #14144

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
Jul 28, 2019

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jul 28, 2019

Due to an exception being in flight. We shouldn't be reporting errors via print anyway

Introduced in 3d73000, so not a regression.

Related to gh-14142

…o an exception being in flight

We shouldn't be reporting errors via print anyway

Related to numpygh-14142
@@ -517,6 +514,7 @@ _convert_from_array_descr(PyObject *obj, int align)
if (ret == NPY_FAIL) {
goto fail;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Added deliberately to make the error handling a little easier to follow

@eric-wieser eric-wieser added this to the 1.17.1 release milestone Jul 28, 2019
@charris
Copy link
Member

charris commented Jul 28, 2019

That goes way back. Note to self, needs backport to 1.16.x.

@charris charris merged commit ca947be into numpy:master Jul 28, 2019
@charris
Copy link
Member

charris commented Jul 28, 2019

Thanks Eric.

@charris charris changed the title BUG: Remove stray print that causes a SystemError on python 3.7 due to an exception being in flight BUG: Remove stray print that causes a SystemError on python 3.7 . Jul 29, 2019
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jul 29, 2019
@charris charris removed this from the 1.17.1 release milestone Jul 29, 2019
@charris
Copy link
Member

charris commented Jul 30, 2019

@eric-wieser You are missing hard line breaks in the commit message, might check your editor.

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