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
For e.g. at https://github.com/varunagrawal/bbox/blob/master/bbox/bbox2d_list.py#L223 (and a couple other blocks in that file, not sure if there are some in others), there is an exception block with no specified exception. That will propagate an arbitrary exception forward as a value error, so if a user catches a value error from that they will be catching any possible exception. In other words, this is shadowing all exceptions as a ValueError.
The text was updated successfully, but these errors were encountered:
For e.g. at https://github.com/varunagrawal/bbox/blob/master/bbox/bbox2d_list.py#L223 (and a couple other blocks in that file, not sure if there are some in others), there is an exception block with no specified exception. That will propagate an arbitrary exception forward as a value error, so if a user catches a value error from that they will be catching any possible exception. In other words, this is shadowing all exceptions as a ValueError.
The text was updated successfully, but these errors were encountered: