Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for Integer Format Check in Python SID Adapter (#1632)
Python integer format char is ambiguous and platform dependent. PyBind11 `format_descriptor<...>::format()` always returns "q" and "Q" for 64bit integers, independent of the platform. Compatible passed-in Python buffers on the other hand might also have the equivalent format "l" or "L" set. See pybind/pybind11#1806 and pybind/pybind11#1908 for details. This fix introduces a special case for integer format comparisons, just checking size and signedness.
- Loading branch information