-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace bare excepts with specified excepts #33
Comments
Any comment on this? |
Thanks for the poke! Currently a bit busy with our scientific article... I agree with your summary and if you can make these changes, I'll review and accept them 👍 Our Bitcoin wallet needs some love since we rely on a rather old version of |
Sure, I'll PR this 😄
Not sure what you mean by this 😅 |
Regarding https://github.com/Tribler/anydex-core/blob/asyncio/anydex/wallet/btc_wallet.py#L85; looking at the links in the note area it looks like this too doesn't raise any exceptions. Please correct me if I'm wrong |
I don't mind helping to migrate it to a newer version 😄 |
Great! This is a bit of a more challenging issue I think but if you're up for the challenge you're more than welcome to try 👍 . Integration of a stable Bitcoin wallet in AnyDex (and Tribler) is something that we have been struggling with for quite some time. |
I think a new issue can be opened on this then, no? Instead of discussing it here. I don't mind opening one, I simply want to avoid doing so if there's no need. |
Yes, please create a new issue for this, thanks! 👍 |
There are a number of places containing bare excepts. Some of these places can be replaced with specified excepts, and some with
Exception
. Since some errors likeSystemExit
are derived fromBareException
and notException
it might lead to unexpected *behavior.RuntimeError
RuntimeError
The text was updated successfully, but these errors were encountered: