I like these macros! Technically, would it be possible to use an inline function instead of a macro for Python 3.7?
Victor 2017-11-08 17:30 GMT+01:00 Serhiy Storchaka <[email protected]>: > Macros Py_SETREF and Py_XSETREF were introduced in 3.6 and backported to all > maintained versions ([1] and [2]). Despite their names they are private. I > think that they are enough stable now and would be helpful in third-party > code. Are there any objections against adding them to the stable C API? [3] > > [1] https://bugs.python.org/issue20440 > [2] https://bugs.python.org/issue26200 > [3] https://bugs.python.org/issue31983 > > _______________________________________________ > Python-Dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
