[sr-dev] [kamailio/kamailio] [Feature Request] Fix Python 2 & 3 build warnings (#1748)

Anthony Messina notifications at github.com
Fri Dec 14 23:47:38 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181214/ca6b19ed/attachment.html>


More information about the sr-dev mailing list