[issue1479099] 'compile' built-in function failures when missing EOL

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r76231. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue1479099] 'compile' built-in function failures when missing EOL

2008-10-13 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: As near as I can tell, for 2.5.2 and 3.0c1, the limitation on compile only applies when the last line only contains a comment. >>> print (compile("def f():\n pass #haha",'','exec')) at 00AADAD0, file "", line 1> >>> print (compile("def f()