[IronPython] Console problem

2006-03-11 Thread Sanghyeon Seo
IronPython 1.0.2258 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> class C: ... x = 1 ... Traceback (most recent call last): SystemError: Object reference not set to an instance of an object >>> Seo Sanghyeon __

[IronPython] atexit module doesn't work

2006-03-11 Thread Sanghyeon Seo
IronPython 1.0.2258 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import sys, atexit >>> def bye(): ... print 'Bye!' ... >>> atexit.register(bye) >>> sys.exit() This should print 'Bye!' at exit. Seo Sanghyeon

[IronPython] file object lacks tell method

2006-03-11 Thread Sanghyeon Seo
What the title says. I don't see an easy way to implement this... FileStream.Position looks useless. I can't think of any way other than maintaining current position throughout in PythonFile.cs. Any idea? Seo Sanghyeon ___ users mailing list users@lists

Re: [IronPython] Console problem

2006-03-11 Thread Martin Maly
Hi, I tried to look into this, but cannot reproduce the exception no matter how hard I try. Are you running IronPython with any command line parameters? Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Saturday, March 11, 2006

Re: [IronPython] Console problem

2006-03-11 Thread Sanghyeon Seo
2006/3/12, Martin Maly <[EMAIL PROTECTED]>: > I tried to look into this, but cannot reproduce the exception no matter > how hard I try. Are you running IronPython with any command line parameters? I am running IronPython with Mono (latest dev version). Perhaps that matters. This bug happens only