Robert Burke added the comment:
I've only observed this in 2.6. Does 2.6 not belong in the bug's versions list
if 2.7 is also affected?
--
___
Python tracker
<http://bugs.python.o
Changes by Robert Burke :
--
title: __or__, __and__, __sub__, and __xor__ instantiate subclass of set
without calling __init__ -> __or__ et al instantiate subclass of set without
calling __init__
___
Python tracker
<http://bugs.pyth
New submission from Robert Burke :
If you create a subclass of set but do not override __or__, __and__, __xor__,
and __sub__, calling these functions will yield a new instance of your
subclass. The new instance will never have __init__ called on it. Depending
on what you expect __init__ to