loop beats generator expr creating large dict!?

2006-10-02 Thread George Young
ll it's entries at once to create itself faster? -- George Young -- "Are the gods not just?" "Oh no, child. What would become of us if they were?" (C.S. Lewis) -- http://mail.python.org/mailman/listinfo/python-list

Re: style query: function attributes for return codes?

2004-12-10 Thread george young
On Fri, 10 Dec 2004 16:40:25 GMT Steven Bethard <[EMAIL PROTECTED]> threw this fish to the penguins: > george young wrote: > > This is obviously just evil, since a misspelling in the string > > return is treacherous. I'm considering function attributes: > > >

style query: function attributes for return codes?

2004-12-10 Thread george young
... return GOOD_CONN But if this is a small utility function that belongs inside a larger module/class, I would like to have it's return values closely associated with the function, not just another value in the parent class. Is anybody using function attributes like this? Is