Ok @miconda, I think I learned how to do all the Github related stuff and went with the
`#if PY_VERSION_HEX >= 0x03070000` style of version checking based on
https://docs.python.org/3/c-api/apiabiversion.html
While this patch "fixes" the Python3.7 deprecation warnings, I don't know
how the project overall likes to handle things like this. I'm guessing that true devs
would prefer to NOT litter code with `#if #endif` statements, but that's for you guys
to decide.
Thank you for letting me try to contribute.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1748#issuecomment-447501741