on a C# page, this directive would make the members of namespace Foo available:
<%@ Import Namespace="Foo" %>
To achieve the same on an IronPython page, I need to write:
from Foo import *
So the namespace directive is superfluent there. Is this by design or something that will get fixed? I like declaring often-used namespaces with directives...
xanadu
Member
10 Points
6 Posts
Import directive not recognized in IronPython?
Jan 10, 2008 08:21 AM|LINK
Hi,
on a C# page, this directive would make the members of namespace Foo available:
<%@ Import Namespace="Foo" %>
To achieve the same on an IronPython page, I need to write:
from Foo import *
So the namespace directive is superfluent there. Is this by design or something that will get fixed? I like declaring often-used namespaces with directives...
Best regards,
xanadu
ASP.NET Futures DLR IronPython