Re: [IronPython] Immutable value types, again

2007-05-16 Thread drew moore
M. David Peterson wrote: > Okay, I'm up for the task, > > Me: "you fool, you just need to cast it to a ref type and then you can > mutate it all > you want. When you need the val type, just cast it back. Didn't you read > the tutorial??" > Hee hee. Wish I'd thought of that. I was poking around f

Re: [IronPython] Immutable value types, again

2007-05-12 Thread drew moore
No comments on mutable value types? I hope my post wasn't too trollish. I expected *somebody* to respond. I figured if I was struggling with it, other people had to be as well, so I felt obligated to speak up. Upside: * Nobody else seems to be having issues with the immutable value types decisi

[IronPython] Immutable value types, again

2007-05-06 Thread drew moore
Hi guys! I recently wrote some (pure CPython!) code that allows the user to get and set a vector (3d point) via a property that wraps an inner vector value with a coordinate transformation. For the most part, it does the right thing, but client code like: model.point.X = 3.5 does not do the r

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

2007-02-18 Thread drew moore
oops. self.writer = sys.stdout.write but you get the idea ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

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

2007-02-18 Thread drew moore
Erzengel des Lichtes wrote: > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of drew moore > Sent: Saturday, February 17, 2007 1:07 PM > To: Discussion of IronPython > Subject: Re: [IronPython] Method invocation when ass

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

2007-02-17 Thread drew moore
> OK, looking into my original code, Test.Func1 was a Function, Test.Func2 was > a Bound Method, and MyClass.Func2 was an unbound method. > My question then is: Why is Test.Func1 not a bound method? > This isn't really an IronPython question but... After you use Python for a while, you'll real

Re: [IronPython] [ANN] IronPython Community Edition 1.0r2

2006-09-29 Thread drew moore
Josh Ritter wrote: > http://fepy.sourceforge.net/license.html > > You really need to remove the "Do What the F*ck You Want to Public License" > I love the Delta Whisky Tango Foxtrot license, and so I hate to say I also agree that removing it... (eventually) is um, probably a good idea. It,

Re: [IronPython] Direct3D IronPython Sample

2006-09-22 Thread drew moore
Dave Fugate wrote: > I believe you'll need the full SDK. If you try running the samples with only > the DirectX runtime you'll see something similar to the following: > >ipy.exe demo1.py >Traceback (most recent call last): > File E:\Ip\IronPython\Samples\Direct3D\demo1.py, line 17, in

Re: [IronPython] importing the os module

2005-10-16 Thread Drew Moore
Papanii Okai wrote: Hmm, I tend to disagree with you on the fact that in standard python os is not a built in module. Even though nt is built in, the os modules also built in. But what is confusing is that Anthony posted that he was able to import the os module like so… Def