Fw: [ZPT] TAL Exists: type

Evan Simpson evan@digicool.com
Wed, 21 Mar 2001 11:50:33 -0500


From: "Guido van Rossum" <guido@digicool.com>
> Evan, I'm not sure I follow.  Do you propose to make all references to
> undefined variables or attributes return Undefined instead of raise an
> error?  That sounds like it would easily mask errors -- very Perlish.

Yes, and it would.  That's why I haven't seriously proposed it.  Still, I
can't help but think that it could be useful if you could explicitly ask for
it, along roughly the same lines as the idioms that use "getattr(obj,
attrname, marker)".

Cheers,

Evan @ digicool