Hi all,

We are compiling the python standard library (so it can be ngend when it is
shipped with Resolver One) and we've discovered that modules in the dll take
precedence over builtins. We noticed this because re and socket are included
in the standard Lib directory (installed with IPy2) and when we ran against
the dll built from the Lib, importing them failed.

We have removed the following files from the standard library (and we may
have to remove some others):
socket, copy_reg, re, sre_compile, sre_constants, sre_parse (the sre_* were
referenced in re)

A better solution would be for builtin modules to take precedence over
modules in referenced assemblies.

As an experiment, we created a datetime module that just printed that it was
being imported. When we included it in a dll and referenced it, it replaced
the builtin datetime.

Glenn & Orestis
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to