The implementation of #671 introduced a bug where it was impossible to test whether a module actually contains an extension, as it would happily find 0 extensions and not throw an error.
This PR causes the client to correctly throw an exception if there is no extension to be loaded.
What type of pull request is this?
Description
The implementation of #671 introduced a bug where it was impossible to test whether a module actually contains an extension, as it would happily find 0 extensions and not throw an error.
This PR causes the client to correctly throw an exception if there is no extension to be loaded.
Changes
Checklist
Python 3.10.x