One problem with A) lies in the ambiguity of the contents of site.py -- portability issues could be large. Also, remember that site.py was implemented as a solution to give IronPython access to the standard libs. This may change at some point and solution A) could be deprecated.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Friday, April 13, 2007 11:44 PM To: Discussion of IronPython Subject: Re: [IronPython] style question - site.py 2007/4/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Which is most correct and why? > > A) >>> site.clr.AddReference(<reference name>) > B) >>> import clr. > >>> clr.AddReference > C) neither B is correct. Well, I can't articulate exactly why, but A just looks wrong. -- Seo Sanghyeon _______________________________________________ users mailing list [EMAIL PROTECTED] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [EMAIL PROTECTED] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
