[Python-ideas] PEP 485: A Function for testing approximate equality

Chris Angelico rosuav at gmail.com
Sat Jan 24 04:34:53 CET 2015


On Sat, Jan 24, 2015 at 2:32 PM, Andrew Barnert <abarnert at yahoo.com> wrote:
>> That's a more philosophical question about API design. It's probably
>> worth mentioning the two options in the PEP - separate function for
>> "close to zero" with these args, or put it all into the one function
>> with those args.
>
> Sure. And obviously the PEP has to pick one of the options and make the case for it.

Right. Pick one, and have a section of "Alternate proposals" or
"Rejected sub-proposals" or something, in which the other is
explained. If nothing else, they make entertaining reading :)

ChrisA


More information about the Python-ideas mailing list