Confusing SyntaxError while entering non-indented code in interactive interpreter on continuation line.

2010-04-25 Thread Colin Howell
[I originally sent this to python-help; the volunteer who responded thought it was OK to repost it here.] I'm sure this has been discussed somewhere before, but I can't find it in the Python issue tracker. The following behavior from the interactive interpreter is rather confusing. (I've seen

Re: Confusing SyntaxError while entering non-indented code in interactive interpreter on continuation line.

2010-04-25 Thread Patrick Maupin
On Apr 25, 3:31 pm, Colin Howell colin.d.how...@gmail.com wrote: [I originally sent this to python-help; the volunteer who responded thought it was OK to repost it here.] I'm sure this has been discussed somewhere before, but I can't find it in the Python issue tracker. The following behavior

Re: Confusing SyntaxError while entering non-indented code in interactive interpreter on continuation line.

2010-04-25 Thread John Bokma
Colin Howell colin.d.how...@gmail.com writes: I know that Dive Into Python is quite old and there have been many improvements in the language since, FYI There is a Dive Into Python 3. -- John Bokma j3b Hacking Hiking in Mexico -