[IronPython] atexit module doesn't work

Dino Viehland dinov at exchange.microsoft.com
Mon Mar 13 18:05:26 CET 2006


Strange, we pass the atexit test...  I'll 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> (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
________________________________
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of henry show
Sent: Monday, March 13, 2006 1:09 AM
To: Discussion of IronPython
Subject: Re: [IronPython] atexit module doesn't work

I C, thx a lot.
then i can repro your bug on my computer.
and cPython did print a 'Bye' runing your piece of code.

btw:what's so special with site.py? why we have to replace the original one with a empty one for ironpython?

2006/3/13, Sanghyeon Seo <sanxiyn at gmail.com<mailto:sanxiyn at gmail.com>>:
2006/3/13, henry show <henryshow at gmail.com<mailto:henryshow at gmail.com>>:
> 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, stat, copy_reg,
and types module.

Seo Sanghyeon
_______________________________________________
users mailing list
users at lists.ironpython.com<mailto:users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060313/602ba11a/attachment.html>


More information about the Ironpython-users mailing list