[Python-ideas] Consider adding clip or clamp function to math

Steven D'Aprano steve at pearwood.info
Tue Aug 9 20:05:50 EDT 2016


On Tue, Aug 09, 2016 at 03:42:12PM -0700, Chris Barker wrote:
> Is this idea still alive?
> 
> Despite the bike shedding, I think that some level of consensus may have
> been reached. So I suggest that either Neil (because it was your idea) or
> Steven (because you've had a lot of opinions, and done a lot of the
> homework) or both, of course, put together a reference implementation and a
> proposal, post it here, and see how it flies.

I'm happy to write up a summary and a reference implementation.



-- 
Steve


More information about the Python-ideas mailing list