[Python-ideas] Re: An alternative to using a clamp / clip / trim function