We have implemented the suggested change to the while loop condition.
Additionally, we have added test cases to test the order of hooks called to make sure that changing the while loop condition did not change the correct behaviour that the previous code was producing (specifically when hookwrapper and wrapper are set to False).
This PR is addressing issue #441
We have implemented the suggested change to the while loop condition.
Additionally, we have added test cases to test the order of hooks called to make sure that changing the while loop condition did not change the correct behaviour that the previous code was producing (specifically when hookwrapper and wrapper are set to False).