[issue38426] declare visit_validate in Py_DEBUG macro

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the report. It's now fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38426] declare visit_validate in Py_DEBUG macro

2019-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset a5447735c334a041ee2ffdeb5c7e13d7d4502ea2 by Victor Stinner in branch 'master': bpo-38392: Only declare visit_validate() if Py_DEBUG is defined (GH-16689) https://github.com/python/cpython/commit/a5447735c334a041ee2ffdeb5c7e13d7d4502ea2 ---

[issue38426] declare visit_validate in Py_DEBUG macro

2019-10-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 16689 to fix the warning. I added the function in bpo-38392. -- ___ Python tracker ___ ___

[issue38426] declare visit_validate in Py_DEBUG macro

2019-10-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16276 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16689 ___ Python tracker ___ _

[issue38426] declare visit_validate in Py_DEBUG macro

2019-10-09 Thread Dong-hee Na
New submission from Dong-hee Na : I've got the warining like this. Modules/gcmodule.c:1925:1: warning: ‘visit_validate’ defined but not used [-Wunused-function] visit_validate(PyObject *op, void *parent_raw) This looks like only used in pydebug. I'd like to propose declaring this function onl