On Wed, 21 Oct 2020 14:19:37 +0200 Marco Sulla <[email protected]> wrote: > If not already present, do you think it's useful to add a macro that does > something like > > # ifdef Py_DEBUG > fprintf(stderr, "%s\n", message); > # endif
In general, you want to do this on a per-component basis, so each C source file tends to redefine its own macros if it needs to. Regards Antoine. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ZG4OEHT4B2XCQUQAR5U4MDU2TOV2QO5M/ Code of Conduct: http://python.org/psf/codeofconduct/
