Re: [IronPython] C#, Types and IronPython

2007-03-11 Thread Nicholas Riley
ied at compile time. > Is there a common base class for the C# number types ? No; however there are several common interfaces these types implement, such as IConvertible. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> ___

Re: [IronPython] C#, Types and IronPython

2007-03-10 Thread Nicholas Riley
ime.Operations.Ops.GetAttr (in C#), or the weird way the single-parameter 'type' constructor works as if it's a function. You can see the mapping as follows: >>> from IronPython.Runtime.Operations.Ops import * >>> GetDynamicType(5) >>> GetDynami

Re: [IronPython] bug in commands module

2007-02-28 Thread Nicholas Riley
ork on IronPython either because it wants to use Win32 APIs directly. You'll have to use os.popen directly, or a native API. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] CodePlex downloader

2007-02-20 Thread Nicholas Riley
n't already present. import.py imports the zip files and metadata into a Mercurial repository. If you just want to track IronPython it is probably easier just to use/clone my repository, which is (still) at: <http://vali.cs.uiuc.edu:8080/> -- Nicholas Riley <

Re: [IronPython] Method invocation when assigned to instancediffers from default assignment?

2007-02-17 Thread Nicholas Riley
are only created if the method is defined on the class, then accessed through an instance. If the method is defined on the instance, there's no need to bind it to an instance because it is already instance-specific. I hope that makes sense. -- Nicholas Riley <[EMAIL PROTECTED]> | <htt

Re: [IronPython] Errors compiling IronPython with Mono

2007-02-17 Thread Nicholas Riley
lpha 1 Compilation (80749). > > More @ http://www.go-mono.com/archive/1.2.3.1/ Yup, it's the same issue. Thanks, it works wonderfully now. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> ___ users mai

Re: [IronPython] Method invocation when assigned to instance differs from default assignment?

2007-02-17 Thread Nicholas Riley
or you might lose a week :-) You might better spend your time learning a bit about Python idioms; for example, in your code: print "Test 1: " + str(Test.i) would be more simply (and efficiently) written as: print "Test 1:', Test.i You might also look at PEP 8 for some

[IronPython] Errors compiling IronPython with Mono

2007-02-14 Thread Nicholas Riley
f this class, or ...? I would think that because IPCE uses IronPython 1.1a1 and comes with Mono it should be possible to compile it with that version, so maybe I am doing something wrong? Thanks, -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> __

Re: [IronPython] Better source code access?

2007-02-13 Thread Nicholas Riley
lse and make the repository > available for public browsing. I imported the data into Mercurial. <http://vali.cs.uiuc.edu:8080/> Note that I didn't account for the branching in the repo that happened at some point, but this still should be a lot more useful than the browser on the

[IronPython] Better source code access?

2007-02-13 Thread Nicholas Riley
Sources") that Team Explorer cannot be used by all users - it would have saved me a lot of time knowing that! Thanks, -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> ___ users mailing list users@lists.ironp

[IronPython] Any way to get IronPython on Mono to have a usable command line?

2007-02-10 Thread Nicholas Riley
I type and ^@ inserted when I press the control key, and on Linux I get command-line history but the delete key and other usual keys like ^U don't work, just inserting ^?, ^U, etc. instead. Is there an alternate way I can run it so I can at least delete, and preferably get history too? Thanks