[Python-Dev] API for binary operations on Sets (original) (raw)

Raymond Hettinger raymond.hettinger at gmail.com
Thu Sep 30 08:32:42 CEST 2010


On Sep 29, 2010, at 11:11 PM, geremy condra wrote:

P.S. I also encountered a small difficulty in implementing #2 that would still need to be resolved if that option is chosen. What's the issue, if you don't mind me asking?

IIRC, just commenting-out the Py_AnySet checks in set_or, set_xor, etc led to a segfault in TestOnlySetsInBinaryOps in Lib/test/test_set.py. There was something subtle going on and I haven't had time to trace though it yet. Somewhere a guard is probably missing.

Raymond

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100930/efbaa2bb/attachment.html>



More information about the Python-Dev mailing list