python: don't swallow NotSupportedError in prepare()
Open
Type: bug
- Dominant language
- C#
- Stars
- 627
- Forks
- 217
- Avg merge
- 17h
- Merged PRs (30d)
- 57
Description
### What happened?
We do this because some drivers don't support prepare(), but the driver could intentionally raise a NotSupportedError in some but not all circumstances that should actually bubble up. Ideally, we should use GetInfo to expose this.
### How can we reproduce the bug?
_No response_
### Environment/Setup
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.