This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients Giacomo.Alzetta, docs@python, r.david.murray, rhettinger, steven.daprano, stutzbach
Date 2014-03-12.22:46:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394664380.11.0.813387581364.issue20902@psf.upfronthosting.co.za>
In-reply-to
Content
If this is undefined, and I think it should be, the docs should explicitly say so. How is this?

The union and intersection operations select elements which appear in both operands, e.g. set([a, b, c]) & set([c, d, e]) returns set([c]). The selection is performed by equality, not object identity, and which specific object is returned (the c object from the first set or the second set) is an implementation detail and cannot be relied on.
History
Date User Action Args
2014-03-12 22:46:20steven.dapranosetrecipients: + steven.daprano, rhettinger, stutzbach, r.david.murray, docs@python, Giacomo.Alzetta
2014-03-12 22:46:20steven.dapranosetmessageid: <1394664380.11.0.813387581364.issue20902@psf.upfronthosting.co.za>
2014-03-12 22:46:20steven.dapranolinkissue20902 messages
2014-03-12 22:46:19steven.dapranocreate