On Mon, Aug 13, 2012 at 11:16 AM, Helmut Jarausch <jarau...@skynet.be> wrote: > Now, when executing this, I always get > > +++ before calling foo > --- after calling foo >>>> entering foo ...
Can you give us a piece of code we can run that produces this output for you? You gave us an outline in your original post, but it would be useful to have a self contained example that you can say reliably produces the unexpected output for you. Also, what environment, OS, and exact python version is this? Is the code being run in an IDE of some sort? Does the behavior change if you call your code directly from the command line? -- Jerry -- http://mail.python.org/mailman/listinfo/python-list