New submission from Jeroen Demeyer <j.deme...@ugent.be>:
A METH_NOARGS function has a second unused argument which is always NULL (this is guaranteed by the documentation). However, some functions in Modules/_io/bufferedio.c actually that second NULL argument. This is technically not a bug, but it looks more clear to explicitly mark that second argument as unused. ---------- components: Extension Modules messages: 322736 nosy: jdemeyer, rhettinger, scoder priority: normal severity: normal status: open title: bufferedio.c uses unused argument of METH_NOARGS functions versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34287> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com