[issue15879] set.__or__, __and__, etc create subclass types, but ignore __new__

2012-09-07 Thread Jon Obermark
Jon Obermark added the comment: The closing author is correct, the use case is adequately covered by __init__, and that has been fixed in 3. It makes sense this will not be backported. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15879] set.__or__, __and__, etc create subclass types, but ignore __new__

2012-09-07 Thread Jon Obermark
New submission from Jon Obermark: If they are not going to call the __metaclass__ or the class __new__, then they should return `set` objects instead of subclass objects, so that it is clear what is going on. As it is, the results of set operations receive some subclass information but not