None versus MISSING sentinel -- request for design feedback

bruno.desthuilliers at bruno.desthuilliers at
Fri Jul 15 09:53:29 CEST 2011

On Jul 15, 8:08 am, Chris Angelico <ros... at> wrote:
> Agreed that float('nan') and "" and "spam" are all bad values for
> Missings. Possibly "" should come out as 0

"In the face of ambiguity, refuse the temptation to guess."

As far as I'm concerned, I'd expect this to raise a TypeError...

More information about the Python-list mailing list