New submission from Fred Gansevles:
I'm playing with the idea of making a DSL based on anonynous code blocks
I discovered that the behaviour of the context manager is different in some
cases if there are line-continuations in the 'with' command
I've attached a script
Fred Gansevles added the comment:
Xavier, thanks for looking at my post.
But, since all six invocations of the context manager are the same
- I did an 'ast.parse' and 'ast.dump' and the the six calls were *exactly* the
same (save lineno and col_offset) - why does 'zero&
Fred Gansevles added the comment:
Xavier, thanks! you found it.
If I look the code again, I see that with zero, one, four and five
the context-manager (i.e. Context()) and the target (one .. five) are on
the same code-line
In the case of two and three they are on a different line.
Now, with the