You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #258 we talked about how there was a bit of a chicken and the egg situation with requires_finalizer. You proposed pulling the the requires_finalizer detection into handle_resource_changing_cause (option B).
This pull request implements option B from that discussion, as I understood it.
Description
The need to add or remove a handler was detected in detect_resource_changing_cause in causation.py.
The need to add or remove a handler will be detected in handle_resource_changing_cause in handling.py.
N/A
Internal.
nolar presented 2 possible options in another PR, this is the 2nd option.
Not that I can see, but i am not familiar with this code.
What do these changes do?
In #258 we talked about how there was a bit of a chicken and the egg situation with requires_finalizer. You proposed pulling the the requires_finalizer detection into
handle_resource_changing_cause
(option B).This pull request implements option B from that discussion, as I understood it.
Description
The need to add or remove a handler was detected in
detect_resource_changing_cause
in causation.py.The need to add or remove a handler will be detected in
handle_resource_changing_cause
in handling.py.N/A
Internal.
nolar presented 2 possible options in another PR, this is the 2nd option.
Not that I can see, but i am not familiar with this code.
Issues/PRs
#258
Type of changes
Checklist
CONTRIBUTORS.txt
Jc2k Thanks for this PR. I guess, it now unblocks the way for the callback-filtering.
The text was updated successfully, but these errors were encountered: