[Python-ideas] Smallest/Largest singletons

Roberto Bonvallet rbonvall+gmane at gmail.com
Thu Nov 27 05:09:14 CET 2008

George Sakkis <george.sakkis at gmail.com> wrote:
> Is it maybe the right time to add a builtin Smallest (and also Largest)
> object, i.e. two singletons so that `Smallest < x` for every x: x is not
> Smallest and `Largest > x` for every x: x is not Largest ?

Largest  = float('Infinity')
Smallest = float('-Infinity')

Roberto Bonvallet

More information about the Python-ideas mailing list