inspect.isfunction equivalent behind abi3-py38 feature #5074
Unanswered
gertjanvanzwieten
asked this question in
Questions
Replies: 1 comment
-
I solved it now using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The "abi3-py38" feature gates out
PyFunction
, which I used to rely on to detect function objects viaobj.downcast_exact::<PyFunction>().is_ok()
. Is there another way that does not involve a downcast to see if something is a function, and that is available behind the "abi3-py38" feature gate?Beta Was this translation helpful? Give feedback.
All reactions