Message5117

Author funkychocobo
Recipients funkychocobo
Date 2009-09-07.22:40:54
SpamBayes Score 6.222775e-09
Marked as misclassified No
Message-id <1252363254.45.0.803327137464.issue1460@psf.upfronthosting.co.za>
In-reply-to
Content
I guess i meant critical. This issue was also present in release 2.5.0. 
What it appears to be is the format:

test_str = "for i in range(5):\n   print i\nprint 'Ouch!'\n"

does not end the interactive evaluation. The below however does:
test_str = "for i in range(5):\n   print i\n\nprint 'Ouch!'\n"

note the extra '\n' after the for loop. This is also true for function 
definitions as well and is not limited to for loop termination.

probably could be added as a test string in test_valid of 
test_codeop.py?
History
Date User Action Args
2009-09-07 22:40:54funkychocobosetmessageid: <1252363254.45.0.803327137464.issue1460@psf.upfronthosting.co.za>
2009-09-07 22:40:54funkychocobosetrecipients: + funkychocobo
2009-09-07 22:40:54funkychocobolinkissue1460 messages
2009-09-07 22:40:54funkychocobocreate