Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: 2.6 is closed for anything except security patches at this point.
2.7 is only open for flat-out bugs, not API changes. So, we might be able to add code that could call the __init__ method (if it exists) whenever a new set is created, but we couldn't change whether __or__ returns a new set or frozenset instead of one of its subtypes. Existing, working code may reasonably rely on the current behavior of returning the subtype (FWIW, this also matches what was done in the original sets.py). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11854> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com