Could I implement custom __getattr__ or  __getattribute__ in pybind11 / C++ to implement dynamic function dispatch?
              
              #5844
            
            
              
                Unanswered
              
          
                  
                    
                      vadimkantorov
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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 usecase:
myinterp.myfunc(args)goes to C++ land where it can handle invokingmyfuncby namemyinterp.invoke("myfunc", args)Beta Was this translation helpful? Give feedback.
All reactions