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
When many decorators are used in parallel (in unittests for example) the is_first_decorator system can be flaky (maybe due to collisions in the id(func) space?).
This forced to enable the removal of variable keyword parameters to all function signatures in BaseDecorator. This is not ideal and should be fixed! (In that case shield the variable keyword removal again for only the function in is_first_decorator.
Note that this adjustment has to happen after the __increase_count call in line 199:
This is reduced with #10 - Reason was non safe multithreadedness
This can still happen in Unit-Tests that are parameterized (since they access the same underlying function that is decorated, therefore generating the same base id. Therefore all unit tests are now executed with --forked command to ensure isolation!
When many decorators are used in parallel (in unittests for example) the
is_first_decorator
system can be flaky (maybe due to collisions in theid(func)
space?).This forced to enable the removal of variable keyword parameters to all function signatures in
BaseDecorator
. This is not ideal and should be fixed! (In that case shield the variable keyword removal again for only the function inis_first_decorator
.The text was updated successfully, but these errors were encountered: