-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For #28441: added
raise_hell
to _ensure_support()
- Loading branch information
1 parent
e406d33
commit 5f590f6
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5f590f6
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.
Hey @nemoDreamer are there any cases where this
raise_hell
will be false? Is that something that we anticipate would happen in the future or maybe you have in another feature branch? (i checked on master, and it looks like it is not being used). If we keep it, an updated docstring would be fab! And maybe it could be renamed to something slightly more descriptive, likeraise_hell_on_error
orraise_exception
or something? Sorry if you think I am being too picky! :) The_ensure_support
is a totally awesome piece of cleanup in the API. We need more of those! :) Thanks!!5f590f6
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.
Also, there are lots of places where we have code like this:
Would be really sweet if we could use
_ensure_support
for all of these guys too!5f590f6
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.
Yup, that was the plan ;)
I also added the "raise hell", so we could use the same functions to test silently.