On 27Aug2021 15:50, Finn Mason <finnjavie...@gmail.com> wrote:
>Perhaps a math.hasnan() function for collections could be implemented with
>binary search?
>
>math.hasnan(seq)

Why would a binary search be of use? A staraight sequential scan of the 
sequence seems the only reliable method. Binary search is for finding a 
value in an ordered sequence.

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/22IYUUJRCPCYUIZBXAUHWE6SBPTIHQME/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to