[issue34287] bufferedio.c uses unused argument of METH_NOARGS functions
Jeroen Demeyer
report at bugs.python.org
Tue Jul 31 03:07:43 EDT 2018
New submission from Jeroen Demeyer <J.Demeyer at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34287>
_______________________________________
More information about the Python-bugs-list
mailing list