[XML-SIG] Writing DOM-neutral code
Juergen Hermann
Juergen Hermann" <jh@web.de
Thu, 06 Dec 2001 01:34:31 +0100
On Wed, 05 Dec 2001 16:53:08 -0500, Rich Salz wrote:
>Hm, use "is" instead of "=3D=3D" for type objects? Because it's slight=
ly
>faster? Or does there exist a case such that "is" succeeds where "=3D=3D=
"
>fails.
>
>I am not ready to require python 2.2 yet.
The isinstance check does not require python 2.x (works with 1.5.2),
but also _supports_ python 2.2, i.e. is the best you can do.
Ciao, J=FCrgen