[IronPython] Namespace pollution

Sanghyeon Seo sanxiyn at gmail.com
Sat Apr 15 17:48:17 CEST 2006


# test.py
one = len('a')

>>> import test
>>> test.len
<built-in function len>

It seems that builtin function names are inroduced to the module
namespace if they are used. This is unlike CPython, where only
test.one would be available in the above example.

Seo Sanghyeon



More information about the Ironpython-users mailing list