I'd like to know what the rationale is for hash comments yielding a
continuation prompt (PS2) in the Python shell. I'd like to put such
comments in interactive examples, but the output is hard to follow:
a = 5
# and now for some multiplication ... a * 10 50
I would prefer that the output be:
a = 5
# and now for some multiplication
a * 10 50
For comparison, end of line comments don't behave this way, which seems
inconsistent:
a = 5
a * 10 # end of line comment
50
-John
--
http:// ift ile.org/