Is it allowed to use function results as default arguments ?

Steven D'Aprano steven at
Tue Jul 29 04:32:19 EDT 2008

On Tue, 29 Jul 2008 09:43:26 +0200, Stef Mientki wrote:

> 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 ;-)

No, even Windows uses '.' as the current directory -- at least XP does, I 
haven't tried Vista. 

However, old Classic Mac OS (pre OS-X) used ':' for the current 
directory, so dot isn't universal.


More information about the Python-list mailing list