[issue3370] importing with_statement causes exec to raise syntax error on block that doesn't end with a newline

2009-02-10 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing: fixed in trunk, 2.5 won't be receiving bugfixes anymore. -- nosy: +ajaksu2 resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3370] importing with_statement causes exec to raise syntax error on block that doesn't end with a newline

2008-07-15 Thread Matt McCredie
New submission from Matt McCredie [EMAIL PROTECTED]: The following session demonstrates the issue: Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. exec def foo():\nreturn 0 # no ending