Skip to content

Conversation

@mmatera
Copy link
Contributor

@mmatera mmatera commented Jan 29, 2025

Builtin.get_functions collects attributes of the subclasses with names starting with a prefix, and assumes that are methods. Until now, the way to check that are indeed methods was to check if they have a docstring. This is not completely correct (because what we want to check is if the method is callable) and since Python 3.13 it breaks the mechanism.
This PR implements the right check.

@rocky rocky merged commit b5b8857 into master Jan 29, 2025
14 checks passed
@rocky rocky deleted the improve_get_functions branch January 29, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants