21.10.20 15:30, Antoine Pitrou пише: > 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.
I concur with 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/GKP52NSQEE4I4JVC7LVEO2LQISCVXFO3/ Code of Conduct: http://python.org/psf/codeofconduct/