STINNER Victor <vstin...@python.org> added the comment:
Oh, I forgot a cool advantage that I discovered late: debuggers and profilers understand inlined code and are able to get the name of the static inline function, whereas it's not possible to do that with macros. If I recall correctly, it works even if the function is inlined. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39968> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com