Default method arguments

Nicola Larosa nico-NoSp at
Tue Nov 15 17:29:57 CET 2005

> Using None might be problematic if None could be a valid argument.

That's like saying that NULL could be a significant value in SQL. In
Python, "None" *is* the empty, not significant value, and should always be
used as such. Specifically, never exchange "None" for "False".

Nicola Larosa - nico-NoSp at

...Linux security has been better than many rivals. However, even
the best systems today are totally inadequate. Saying Linux is
more secure than Windows isn't really addressing the bigger issue
 - neither is good enough. -- Alan Cox, September 2005

More information about the Python-list mailing list