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
there is a return statement in a finally block, which would swallow any in-flight exception.
This means that if any exception is raised from the try body (including BaseException such as KeyboardInterrupt), it will not propagate on as expected.
Thanks for point the mistake out. Since v3.14, the development branch has had many improvements including "better" validators. Checkout the development branch and let me know what you think. If you have any improvements to mak, please make a PR. Any help is greatly apprecaited. 😎
In
pandas-ta/pandas_ta/utils/_core.py
Line 45 in b465491
return
statement in afinally
block, which would swallow any in-flight exception.This means that if any exception is raised from the
try
body (includingBaseException
such asKeyboardInterrupt
), it will not propagate on as expected.See also https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions.
The text was updated successfully, but these errors were encountered: