A Universe Set

jordan.nick at gmail.com jordan.nick at gmail.com
Wed Oct 4 05:52:17 CEST 2006

Has the addition of a Universe Set object ever been suggested.  Like U
= set(0), so that any object was a member of U?  Maybe this gets into
some crazy Cantorian stuff since U is in U.  But it seems like it would
be useful and would have a nice symmetry with emptyset:set([]), that

for any object a:
"a in set([])" returns False
"a in set(0)" returns True

More information about the Python-list mailing list