Re: goto

2005-07-18 Thread Comcast
In python there is no goto statement. In C I use goto only in one case: to exit more then one level of blocks (as a matter of fact, I always use goto EXIT in C, where EXIT is the label of the end of the function). In python you can mimic this by throwing an exception and catching it. Exception sho

Re: deepcopy chokes with TypeError on dynamically assigned instance method

2005-02-12 Thread @t comcast d.t net
On Fri, 11 Feb 2005 21:22:35 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: > >Interesting. The problem appears to be that bound methods are not copyable: > Curiosity got the better of me and I started diggin about in copy.py. Turns out that return values of reductors for functions don't include