This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry
Date 2013-05-29.02:00:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369792844.19.0.815911667989.issue18091@psf.upfronthosting.co.za>
In-reply-to
Content
There's a typedef in methodobject.h called PyNoArgsFunction.  You might think it's used for METH_NOARGS functions--you'd be wrong, those use PyCFunction and pass in NULL for args.

No, PyNoArgsFunction is never used.  Nor is it documented.  It's found in exactly one place in the CPython tree, and that's when it's declared.  We should consider removing it.

Note that I'm pretty sure this will break external code; a quick Google found that Blender's extension interface uses it.  And AFAICT they still use it, and they *have* moved to Python 3.  So I could believe the right call is "we better leave it in".

I suspect that PyNoArgsFunction *was* used once upon a time.  I further suspect that year started with a 1.
History
Date User Action Args
2013-05-29 02:00:44larrysetrecipients: + larry
2013-05-29 02:00:44larrysetmessageid: <1369792844.19.0.815911667989.issue18091@psf.upfronthosting.co.za>
2013-05-29 02:00:44larrylinkissue18091 messages
2013-05-29 02:00:43larrycreate