Skip to content

BUG: Ensure compile errors are raised correctly#21442

Merged
charris merged 1 commit intonumpy:mainfrom
seberg:ensure-compile-errors-fail
May 5, 2022
Merged

BUG: Ensure compile errors are raised correctly#21442
charris merged 1 commit intonumpy:mainfrom
seberg:ensure-compile-errors-fail

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented May 4, 2022

This has been bugging me for a bit. The concurrent.futures Executor
requires checking the result for the error to be raised. That makes
sense, but just means we need to consume the result explicitly here
to ensure we know about compile errors.

Otherwise, compile errors just pass silently (which is very confusing
if the old object files are still around and the tests run based on
the old version).

This has been bugging me for a bit.  The concurrent.futures Executor
requires checking the result for the error to be raised.  That makes
sense, but just means we need to consume the result explicitly here
to ensure we know about compile errors.

Otherwise, compile errors just pass silently (which is very confusing
if the old object files are still around and the tests run based on
the old version).
@seberg seberg added the 09 - Backport-Candidate PRs tagged should be backported label May 5, 2022
@seberg seberg modified the milestones: 1.22.4 release, 1.23.0 release May 5, 2022
@seberg seberg changed the title BUG: Ensure compile errors are raised correclty BUG: Ensure compile errors are raised correctly May 5, 2022
@charris charris merged commit 7f77205 into numpy:main May 5, 2022
@charris
Copy link
Copy Markdown
Member

charris commented May 5, 2022

Thanks Sebastian. Do you still want this backported?

@seberg seberg deleted the ensure-compile-errors-fail branch May 5, 2022 16:51
@seberg
Copy link
Copy Markdown
Member Author

seberg commented May 5, 2022

Yeah, I noticed the fix (as in the PR that caused this) was backported, so I think it probably makes sense. I added it because I think it might also affect downstream, in principle, for the branch development itself it really wouldn't matter...

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label May 8, 2022
@charris charris removed this from the 1.23.0 release milestone May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants