[IronPython] Setting builtin_module_names
sanxiyn at gmail.com
Mon Oct 15 06:32:12 CEST 2007
Currently, sys.builtin_module_names is set in
IronPython.Runtime.SystemState.LoadBuiltins. But this method is called
multiple times with assemblies, by default IronPython.dll and
Doesn't this belog to InitializeBuiltins method, after Builtins
dictionary is complete?
Especially, renaming nt to posix happens after builtin_module_names is
set, so this change isn't reflected there. And since os.py in the
standard library uses builtin_module_names to detect platform, os.py
is broken on Unix.
Here's my suggested fix:
More information about the Ironpython-users