Did you mean to cross-post this from python-ideas to python-list?
On Mon, 13 Jun 2011 16:43:11 +0100, MRAB wrote:
> Here's another way:
>
> def do_work(args):
> do_work.pr("doing spam")
> spam()
> do_work.pr("doing ham")
> ham()
> # and so on
Sure, there are lots of way
On 13/06/2011 15:33, Steven D'Aprano wrote:
Nick Coghlan wrote:
On Mon, Jun 13, 2011 at 5:11 PM, Steven D'Aprano
wrote:
Function parameters should be kept for actual arguments, not for
optimizing
name look-ups.
Still, the post-** shared state (Jan's option 2) is likely the most
obvious way t