Question: exception mismatch reported by lcov in pytypes.h #5573
              
                Unanswered
              
          
                  
                    
                      jayaddison
                    
                  
                
                  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.
-
Hello,
The
matplotlibcharting library usespybind11, and also uses GitHub Actions to rungcovandlcov-- code coverage utilities.After upgrading the GitHub Actions runner images in matplotlib/matplotlib#29765 (to allow installation of a recently-required dependency), the updated versions of those utilities resulted in a report of a mismatch in the
pytypes.hheader file. Specifically, that an object-to-string conversion method declared in a macro there appeared to have mismatched exception-related behaviour:The macro callsite appears to be this one:
pybind11/include/pybind11/pytypes.h
Line 1562 in a2e59f0
Question
I'd prefer not to disable/ignore this warning without knowing whether it is reporting a geuine problem, or whether it is a bug in
gcov/lcov, or a false positive for some reason. Does anyone here have experience with this who can identify what the problem is?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions