[IronPython] Bug in 2.0a1 SystemState.InitializeBuiltins

Dino Viehland dinov at exchange.microsoft.com
Wed May 16 17:42:42 CEST 2007


Definitely a bug, I've got an idea on a better way to fit it then just change when the we change the name.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Tuesday, May 15, 2007 9:17 AM
To: Discussion of IronPython
Subject: [IronPython] Bug in 2.0a1 SystemState.InitializeBuiltins

I hope the bug is obvious once pointed out. InitializeBuiltins method
contains a code to replace built-in nt module with posix module when
Platform is PlatformID.Unix. But this is done *before*
IronPython.Modules is loaded! As a result, KeyNotFoundException is
raised.

Clearly, this won't happen on Windows.

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



More information about the Ironpython-users mailing list