[Python-ideas] Add the imath module

Chris Angelico rosuav at gmail.com
Fri Jul 13 11:31:05 EDT 2018


On Sat, Jul 14, 2018 at 1:05 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Fri, Jul 13, 2018 at 02:51:18PM +0200, Jacco van Dorp wrote:
>
>> I think the extra 9 characters of "_probable" are worth the extra accuracy.
>>
>> Dont teach people to lie in their function names. It's a bad example.
>> and if you really want to lie, just
>
> In what way is
>
>     is_probable_prime(11)  # returns True
>
> less true than
>
>     isprime(11)  # returns True
>
> If you want to *lie*, then claiming that 11 is a probable prime is
> certainly a lie.
>

It's a probable lie?

ChrisA


More information about the Python-ideas mailing list