[XML-SIG] unsubscribe

Sara Beakley SBEAKLEY@uact.edu
Mon, 14 Dec 1998 19:36:51 -0700


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01BE27D3.C5D32D70
Content-Type: text/plain

unsubscribe
> ----------
> From: 	John Cowan[SMTP:cowan@locke.ccil.org]
> Sent: 	Monday, December 14, 1998 2:56 PM
> To: 	DOM List; xml-sig@python.org
> Subject: 	Re: [XML-SIG] RE: Equality tests on DOM nodes
> 
> Fred L. Drake wrote:
> 
> > Typically,
> > two Python objects (let's take lists as an examples) are considered
> > equal if their contents are the same; equality of two objects is not
> > considered to be an unchangable characteristic.
> 
> The trouble with that scheme is that it makes equality hard to
> reason about.  Intuitively, we expect equality to be transitive,
> (if a = b and b = c then a = c), reflexive (a = a), and symmetrical
> (if a = b then b = a).  Making equality depend on mutable properties
> defeats this: a might = b at one time, but a later check for 
> b = a might fail.
> 
> >         a.reverse()
> 
> I presume this is a *destructive* reverse (leaves a reversed)?
>  
> -- 
> John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
> 	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
> 	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
> 		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
> 

------ =_NextPart_001_01BE27D3.C5D32D70
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.0.1460.9">
<TITLE>unsubscribe</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">unsubscribe</FONT>
<UL>
<P><FONT SIZE=3D2 FACE=3D"MS Sans Serif">----------</FONT>
<BR><B><FONT SIZE=3D2 FACE=3D"MS Sans Serif">From:</FONT></B> &nbsp; =
<FONT SIZE=3D2 FACE=3D"MS Sans Serif">John =
Cowan[SMTP:cowan@locke.ccil.org]</FONT>
<BR><B><FONT SIZE=3D2 FACE=3D"MS Sans Serif">Sent:</FONT></B> &nbsp; =
<FONT SIZE=3D2 FACE=3D"MS Sans Serif">Monday, December 14, 1998 2:56 =
PM</FONT>
<BR><B><FONT SIZE=3D2 FACE=3D"MS Sans Serif">To:</FONT></B> =
&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"MS Sans Serif">DOM List; =
xml-sig@python.org</FONT>
<BR><B><FONT SIZE=3D2 FACE=3D"MS Sans Serif">Subject:</FONT></B> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"MS Sans =
Serif">Re: [XML-SIG] RE: Equality tests on DOM nodes</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Fred L. Drake wrote:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; Typically,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; two Python objects (let's take =
lists as an examples) are considered</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; equal if their contents are the =
same; equality of two objects is not</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; considered to be an unchangable =
characteristic.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The trouble with that scheme is that =
it makes equality hard to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">reason about.&nbsp; Intuitively, we =
expect equality to be transitive,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(if a =3D b and b =3D c then a =3D =
c), reflexive (a =3D a), and symmetrical</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(if a =3D b then b =3D a).&nbsp; =
Making equality depend on mutable properties</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">defeats this: a might =3D b at one =
time, but a later check for </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">b =3D a might fail.</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
a.reverse()</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I presume this is a *destructive* =
reverse (leaves a reversed)?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-- </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">John =
Cowan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><U> <FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial"><A HREF=3D"http://www.ccil.org/~cowan" =
TARGET=3D"_blank">http://www.ccil.org/~cowan</A></FONT></U>&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">cowan@ccil.org</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">You tollerday donsk?&nbsp; N.&nbsp; You tolkatiff =
scowegian?&nbsp; Nn.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">You spigotty anglease?&nbsp; Nnn.&nbsp; You phonio =
saxo?&nbsp; Nnnn.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Arial">Clear all =
so!&nbsp; 'Tis a Jute.... (Finnegans Wake 16.5)</FONT></P>
</UL>
</BODY>
</HTML>
------ =_NextPart_001_01BE27D3.C5D32D70--