Martin Panter added the comment:

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.

----------
nosy: +martin.panter
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20191>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to