[issue8404] Set operations don't work for dictionary views

Alexandre Vassalotti report at bugs.python.org
Sat Apr 17 23:48:35 CEST 2010


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

I found the issue. The view types didn't have Py_TPFLAGS_CHECKTYPES set, so the types were using the old-style binary operators.

Here's a patch that fixes the issue. Please review.

----------
Added file: http://bugs.python.org/file16966/fix_dictviews_set_operations.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8404>
_______________________________________


More information about the Python-bugs-list mailing list