[issue4357] frozen?set operations create incorrectly initialized instances of subclasses
Alex Samuel
report at bugs.python.org
Wed Nov 19 19:32:42 CET 2008
Alex Samuel <alex at alexsamuel.net> added the comment:
In the sample code I attached, z is an instance of MySet under 3.0rc2. Is
that expected?
Thanks,
Alex
Mark Dickinson wrote:
> Mark Dickinson <dickinsm at gmail.com> added the comment:
>
> The bug is that the set operations return instances of the subclass,
> rather than instances of set.
>
> This is already fixed for 3.0: see issue 1721812. It was deemed too risky
> to backport the change to 2.x.
>
> ----------
> assignee: theller ->
> components: +Interpreter Core -ctypes
> nosy: +marketdickinson
> resolution: -> duplicate
> status: open -> closed
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue4357>
> _______________________________________
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4357>
_______________________________________
More information about the Python-bugs-list
mailing list