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 aronacher
Recipients aronacher
Date 2008-03-03.21:24:59
SpamBayes Score 0.030226719
Marked as misclassified No
Message-id <1204579501.7.0.0188509512316.issue2226@psf.upfronthosting.co.za>
In-reply-to
Content
_abcoll.py references intertools.chain but doesn't import it.  This
breaks Set subclasses.  Additionally the abstract base classes don't
provide the right hand operator callbacks or how you want to call them.
 So __add__ is there but __radd__ not which for example leads to the
problem that "foo() + set()" works but "set() + foo" not.

And the third oddity in that module is that Callable defines an abstract
method for __contains__ which makes no sense but none for __call__.
History
Date User Action Args
2008-03-03 21:25:02aronachersetspambayes_score: 0.0302267 -> 0.030226719
recipients: + aronacher
2008-03-03 21:25:01aronachersetspambayes_score: 0.0302267 -> 0.0302267
messageid: <1204579501.7.0.0188509512316.issue2226@psf.upfronthosting.co.za>
2008-03-03 21:24:59aronacherlinkissue2226 messages
2008-03-03 21:24:59aronachercreate