[issue20191] resource.prlimit(int, int, str) crashs

Martin Panter report at bugs.python.org
Mon Dec 19 00:39:53 EST 2016


Martin Panter added the comment:

Patch looks good to me. Although maybe you don’t need the IndexError check in the test. Won’t limit[key] already handle that for you (as long as key isn’t -1 etc).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20191>
_______________________________________


More information about the Python-bugs-list mailing list