Re: Making immutable instances
"Giovanni Bajo" <noway@sorry.co m> writes:[color=blue]
> Mike Meyer wrote:[color=green][color=darkred]
>>> Björn Lindström wrote:
>>> Why do you think we have a frozenset, for instance? By Mike's
>>> argument, we shouldn't have it.[/color]
>> Not *my* arguments, certainly. Not unless you're seriously
>> misinterpreting them.[/color]
> Sorry then, I probably am. There must be a misunderstandin g somewhere.[/color]
I'm seeing posts from you attribute to "Mike Meyer" (me) and "Mike" -
some of which definitely weren't me. So maybe it wasn't mine.
[color=blue]
> What is your position about frozenset? By my understanding of your arguments,
> it is a hand-cuffed version of set, which just prevents bugs that could still
> be caught by testing.[/color]
I have exactly the same problem with frozensets as I do with sets - I
can't add attributes to either one. That frozenset can't be changed
doesn't bother me particularly.
[color=blue]
> The same applies for the arbitrary restriction of not allowing sets
> to be key dictionaries (with their hash value being their id).[/color]
I can't parse that. What do you mean by "key dictionaries"?
<mike
--
Mike Meyer <mwm@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
"Giovanni Bajo" <noway@sorry.co m> writes:[color=blue]
> Mike Meyer wrote:[color=green][color=darkred]
>>> Björn Lindström wrote:
>>> Why do you think we have a frozenset, for instance? By Mike's
>>> argument, we shouldn't have it.[/color]
>> Not *my* arguments, certainly. Not unless you're seriously
>> misinterpreting them.[/color]
> Sorry then, I probably am. There must be a misunderstandin g somewhere.[/color]
I'm seeing posts from you attribute to "Mike Meyer" (me) and "Mike" -
some of which definitely weren't me. So maybe it wasn't mine.
[color=blue]
> What is your position about frozenset? By my understanding of your arguments,
> it is a hand-cuffed version of set, which just prevents bugs that could still
> be caught by testing.[/color]
I have exactly the same problem with frozensets as I do with sets - I
can't add attributes to either one. That frozenset can't be changed
doesn't bother me particularly.
[color=blue]
> The same applies for the arbitrary restriction of not allowing sets
> to be key dictionaries (with their hash value being their id).[/color]
I can't parse that. What do you mean by "key dictionaries"?
<mike
--
Mike Meyer <mwm@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Comment