On Wed, 21 Oct 2020 14:19:37 +0200
Marco Sulla <marco.sulla.pyt...@gmail.com> 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 -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ZG4OEHT4B2XCQUQAR5U4MDU2TOV2QO5M/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to