[Python-ideas] Default arguments in Python - the return - running out of ideas but...

Steven D'Aprano steve at pearwood.info
Fri May 15 00:27:07 CEST 2009


On Thu, 14 May 2009 09:03:34 am CTO wrote:

> Thanks for the input, but I've already written the code to do this.
> It
> is available at <URL:http://code.activestate.com/recipes/576751/>.

[...]
> The gode given is slow and ugly, but it does appear-
> at least to me- to do what is being asked here.

Your code seems to work only if the source to the function is available. 
That will mean it can't be used by people who want to distribute .pyc 
files only.


-- 
Steven D'Aprano



More information about the Python-ideas mailing list