From: Arnaud Delobelle <arno...@googlemail.com>
Date: Thu, 14 May 2009 09:08:13 +0100
Local: Thurs, May 14 2009 4:08 am
Subject: Re: [Python-ideas] Default arguments in Python - the return - running out of ideas but...
2009/5/14 CTO <debat...@gmail.com>:
> Thanks for the input, but I've already written the code to do this. I should have said "it's impossible short of looking at the source > It > is available at <URL:http://code.activestate.com/recipes/576751/>. code or doing some very sophisticated introspection of the bytecode of the module the function is defined in". Even so, your recipe doesn't quite work in several cases, aside from def nesting(): nesting() @runtime name() * The first one fails because default is not a global variable, thus def remove_decorators(source): * The second one fails because of a clash of names. I guess that can -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||