[issue36788] Add clamp() function to builtins

TheComet report at bugs.python.org
Fri May 3 17:56:59 EDT 2019


TheComet <alex.murray at gmx.ch> added the comment:

I have implemented it on my branch here: https://github.com/TheComet/cpython/blob/fix-issue-36788/Python/bltinmodule.c

It still needs further testing and I haven't leak checked it properly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36788>
_______________________________________


More information about the Python-bugs-list mailing list