[XML-SIG] Writing DOM-neutral code
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 5 Dec 2001 17:47:14 -0500
Rich Salz writes:
> Hm, use "is" instead of "==" for type objects? Because it's slightly
> faster? Or does there exist a case such that "is" succeeds where "=="
> fails.
There is no meaning to equality-without-identity for type objects,
and the two will always yield the same result.
> I am not ready to require python 2.2 yet.
> /r$
That's fine too.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation