Is it allowed to use function results as default arguments ?

Grant Edwards grante at
Tue Jul 29 11:46:14 EDT 2008

On 2008-07-29, Stef Mientki <stef.mientki at> wrote:

> brings me to one other question:
>   I guess this function is only evaluated once, is that correct ?


> about '.' being the current directory, well I think windows
> was thrown at the market about 25 years ago, and since then we
> don't use '.' anymore ;-)

Who's "we"?  I stull use "." as the current directory.

Grant Edwards                   grante             Yow! Mary Tyler Moore's
                                  at               SEVENTH HUSBAND is wearing
                                 my DACRON TANK TOP in a
                                                   cheap hotel in HONOLULU!

More information about the Python-list mailing list