So is not possible to testing if a variable is defined with this functions  <br>vars(), globals(), locals() ?<br>Or maybe i make confusion with another issue.<br>Please more specific ... Thank you <br><br><div class="gmail_quote">
2010/4/4 Chris Rebert <span dir="ltr"><<a href="mailto:clp2@rebertia.com">clp2@rebertia.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Apr 4, 2010 at 1:42 AM, <a href="mailto:catalinfest@gmail.com">catalinfest@gmail.com</a><br>
<<a href="mailto:catalinfest@gmail.com">catalinfest@gmail.com</a>> wrote:<br>
> Hi everyone .<br>
> My questions is "why vars().has_key('b') is False ?'<br>
> I expecting to see "True" because is a variable ...<br>
<br>
The built-in constants and functions aren't global variables, they're<br>
in the special __builtins__ dictionary/namespace, and thus not part of<br>
globals() or vars().<br>
<br>
Cheers,<br>
Chris<br>
<font color="#888888">--<br>
<a href="http://blog.rebertia.com" target="_blank">http://blog.rebertia.com</a><br>
</font></blockquote></div><br>