declaration of variables?

André Jonsson tatsujin at spamgoeshere.despammed.om
Sun Feb 16 08:30:57 EST 2003


Mike Meyer wrote:
> Consider the situation in another common P-named interpreter, where an
> unassigned variable has the value of the empty string, which also has
> the value of 0.
> 
> Compared to that, Python is enlightened!

If you by "P-named" you mean P*P, than I agree fully, but atleast in that case it is 
possible to set a flag to make the compiler spit out warnings and such, which is very 
helpful.

/André





More information about the Python-list mailing list