[IronPython] Spurious warning when executing modules with -m

Michael Foord fuzzyman at voidspace.org.uk
Sat Aug 22 00:40:15 CEST 2009


Create a Python file called foo.py containing nothing but "import os". 
Execute it with "python -m foo" and "ipy.exe -m foo" (Python 2.6 and 
IronPython 2.6 B2).

C:\compile\testing>python -m foo

C:\compile\testing>ipy.exe -m foo
<string>:1: RuntimeWarning: Parent module '' not found while handling 
absolute import

Michael

-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog	





More information about the Ironpython-users mailing list