Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
ISTM it would be better to keep METH_NOARGS as-is and if you need another argument, then use a different calling pattern. The METH_NOARGS flag is very old and widely adopted -- it is unknowable how changing the assumptions will affect deployed code. Also, it just feels weird to go down the proposed path -- for clarity, METH_NOARGS should mean "no args" -- any other meaning is certain to create confusion. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34280> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com