Bugs item #1598166, was opened at 2006-11-17 05:50 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1598166&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 >Status: Closed >Resolution: Works For Me Priority: 5 Private: No Submitted By: Andreas Kloeckner (inducer) Assigned to: Nobody/Anonymous (nobody) Summary: The empty set should be a subset of the empty set Initial Comment: Python 2.4.4 (#2, Oct 20 2006, 00:23:25) [GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> set([]) < set([1]) True >>> set([]) < set([]) False The last expression should evaluate to True to be mathematically correct. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-11-17 06:34 Message: Logged In: YES user_id=849994 Originator: NO To get the mathematical "subset or equal" operator, use "<=". "<" is "is a strict subset". Closing as "works for me". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1598166&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com