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 martin.panter
Recipients larry, martin.panter, serhiy.storchaka, vstinner
Date 2016-12-11.03:14:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481426045.57.0.666798582149.issue20191@psf.upfronthosting.co.za>
In-reply-to
Content
Revision 4bac47eb444c fixed setrlimit(). Perhaps those changes can just be applied again to prlimit().

I’m not an Arg Clinic expert, but isn’t one of its purposes to imitate native Python function signatures? Since argument unpacking was dropped from Python 2 to 3, I doubt Arg Clinic would grow support for this. I think the tuple should be unpacked inside the implementation body, just as a native Py 3 function has to unpack tuple arguments.

BTW I couldn’t get either Victor’s "\udbff" test case, nor Serhiy’s BadSequence test case to crash, but the original MyNum class from Issue 6083 does crash.
History
Date User Action Args
2016-12-11 03:14:05martin.pantersetrecipients: + martin.panter, vstinner, larry, serhiy.storchaka
2016-12-11 03:14:05martin.pantersetmessageid: <1481426045.57.0.666798582149.issue20191@psf.upfronthosting.co.za>
2016-12-11 03:14:05martin.panterlinkissue20191 messages
2016-12-11 03:14:04martin.pantercreate