[IronPython] How to use namespace

Martin Maly Martin.Maly at microsoft.com
Sat Dec 3 03:07:43 CET 2005


Currently this is not possible. However I feel that as our static compilation story evolves, this is something that will come up as one of the issues to address.

Thanks for your input
Martin

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Debajyoti Bera
Sent: Friday, December 02, 2005 1:03 PM
To: users at lists.ironpython.com
Subject: [IronPython] How to use namespace

Hi
I couldnt find this in the mailing-list archive. How to create a namespace in ironpython ? I dont think python supports namespaces but is there round about way to create e.g. the following class in ironpython ?

(class abcd in namespace mynamespace with method myfunc) namespace mynamespace {
    class abcd {
        public void myfunc (int i)
        { return; }
    }
}


--
Debajyoti Bera, Graduate Student, BU-CS
@ http://cs-people.bu.edu/dbera/   http://dbera.blogspot.com
@ 617-782-1324 (R)                 617-358-2354 (O)
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list