[issue26179] Python C-API "unused-parameter" warnings

2017-11-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2138163621196a186975796afb2b0a6aa335231d by Victor Stinner (Petr Viktorin) in branch 'master': bpo-29179: Document the Py_UNUSED macro (#4341) https://github.com/python/cpython/commit/2138163621196a186975796afb2b0a6aa335231d -- ___

[issue26179] Python C-API "unused-parameter" warnings

2017-11-08 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +4297 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26179] Python C-API "unused-parameter" warnings

2016-01-22 Thread Devyn Johnson
Devyn Johnson added the comment: Thank you and sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26179] Python C-API "unused-parameter" warnings

2016-01-22 Thread STINNER Victor
STINNER Victor added the comment: Please don't open bug reports to ask questions on your own code. The bug tracker is not forum. -- resolution: -> not a bug status: open -> closed ___ Python tracker _

[issue26179] Python C-API "unused-parameter" warnings

2016-01-22 Thread STINNER Victor
STINNER Victor added the comment: > Is there an underlying issue in the API? You can use self if your code. If you don't need it, you can use Py_UNUSED() macro available since Python 3.4. -- nosy: +haypo ___ Python tracker

[issue26179] Python C-API "unused-parameter" warnings

2016-01-22 Thread Devyn Johnson
New submission from Devyn Johnson: When compiling Python C-API extensions with "-Wextra", warnings like warning: unused parameter ‘self’ [-Wunused-parameter] appear for code (like below). It seems like a minor issue for a warning to appear when "PyObject *self, PyObject *args" is required. Is