[Python-Dev] I think my set module is ready for prime time; comments?

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 25 Jan 2001 11:55:00 +1300 (NZDT)


> But shouldn't the default value be something else,
> like none?

It should really be whatever is the first value that gets
stored after the dict is created. That way people can
use whatever they want for their dummy value and it will
Just Work. And it will probably catch most existing uses
of a dict as a set as well.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+