Re: Null object pattern

2008-11-12 Thread Robin Becker
Ben Finney wrote: Terry Reedy <[EMAIL PROTECTED]> writes: We're not going to add the "feature" back that None compares smaller than everything. It's a slippery slope that ends with all operations involving None returning None -- I've seen a proposal made in all earnestness requesting that None+

Re: Null object pattern

2008-11-11 Thread Terry Reedy
Ben Finney wrote: Terry Reedy <[EMAIL PROTECTED]> writes: We're not going to add the "feature" back that None compares smaller than everything. It's a slippery slope that ends with all operations involving None returning None -- I've seen a proposal made in all earnestness requesting that None+

Null object pattern (was: Python 3.0 - is this true?)

2008-11-11 Thread Ben Finney
Terry Reedy <[EMAIL PROTECTED]> writes: > We're not going to add the "feature" back that None compares smaller > than everything. It's a slippery slope that ends with all operations > involving None returning None -- I've seen a proposal made in all > earnestness requesting that None+42 == None, N