Re: [IronPython] atexit module doesn't work

2006-03-13 Thread Sanghyeon Seo
2006/3/13, henry show [EMAIL PROTECTED]: i am new to ironpython, so my question might be silly: why i can not even import os and atexit? You need to copy Lib directory from CPython 2.4 distribution. (And delete site.py after copying.) To import os module, you need os, ntpath or posixpath,

Re: [IronPython] Creating Python file from .NET stream

2006-03-13 Thread Dino Viehland
You should be able to do: import System a = System.IO.FileStream('abc', System.IO.FileMode.Create) file(a) file 'F:\Product\IronPython\IronPython\abc', w+ That should work w/ a network stream as well, but the filename will show up as nul in that case. Do you want to help develop Dynamic

Re: [IronPython] -i option doesn't go interactive when exception is raised

2006-03-13 Thread Dino Viehland
Thanks for the bug report Seo, we'll look into getting it fixed for beta 5. Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) -Original Message- From: [EMAIL PROTECTED]

Re: [IronPython] atexit module doesn't work

2006-03-13 Thread Dino Viehland
Strange, we pass the atexit test Ill open a bug on this for us to look into. Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) From: [EMAIL PROTECTED] [mailto:[EMAIL

[IronPython] pasting into interactive console

2006-03-13 Thread Pete Sheill
In Beta3, I recall beingable to copy and paste large class definitions from my editor to the interactive console. In Beta4, I get some strange indenting behavior that breaks that usage. Example: class Item(UserControl): def __init__(self, id, beetle): self.id = id self.Height = 50; When