Re: None

Tim Peters (
Mon, 25 Apr 94 17:23:33 -0400

> [john]
> ... None is not as nothing as it could be. It can be used in value
> comparisons without error.

Yup, like a null pointer. Can also be the source of an assignment,
passed as an argument, embedded in objects, printed, and returned like a
null pointer.

> ...
> I'd like to see every operation involving None fail.

While Don would like to see most operations involving None not fail! The
compromise proposal should be entertaining reading <wink>.

Seriously, you can't change the semantics of None at this late date -- in
either direction. If you want a never-complains object or an always-
complains object, you at least have to propose a new name.

"bottom"-and-"top"-come-to-mind-ly y'rs - tim

Tim Peters
not speaking for Kendall Square Research Corp