[IronPython] error in parser module

Roman Yakovenko roman.yakovenko at actimize.com
Sun Aug 15 07:28:38 CEST 2004

reproducible code:

if __name__ == '__main__':
    print 'hello world' 

hint: don't insert whitespace or new lines after
'hello world', file should consist from 2 lines only


Fix should be done in IronPython.AST.Parser.parseSuite.
The condition of while shoud be changed to: read until EOF extracted

P.S. Code was not post because Jim could not accept
any patches right now. He is working hard to solve
this problem. Anyway if someone needs code - turn to
me and I will send patch to you


More information about the Ironpython-users mailing list