Re: [IronPython] [python] Re: Announcement: ProjecttogetsomeCPython C extensions running under IronPython

2007-10-17 Thread Joe Mason
On 10/17/07, Keith J. Farmer <[EMAIL PROTECTED]> wrote: > I know what pointers are – I just don't like them. > > In C++/CLI you'd use a caret to get a safe handle to said object. But... but that's not source compatible? Joe ___ Users mailing list Users@

Re: [IronPython] [python] Re: Announcement: Project to get someCPython C extensions running under IronPython

2007-10-17 Thread Joe Mason
On 10/17/07, Keith J. Farmer <[EMAIL PROTECTED]> wrote: > Forgive my non-C-ness (it's been a long time since I wrote a native module > for Python), but aren't you now buying into a major re-implementation of all > the native Python standard library into C#? Couldn't the C/C# API just use IronPytho

Re: [IronPython] Announcement: Project to get some CPython Cextensions running under IronPython

2007-10-15 Thread Joe Mason
On 10/15/07, Andy Shah <[EMAIL PROTECTED]> wrote: > I am a nobody in this world... but to extend sidnei's second choice.. and the > fact that we are extending *C* extensions... how about "CxyPython" Personally, I like the name "C Extensions for IronPython". It's descriptive. Joe ___

Re: [IronPython] Static variables (Python basics)

2007-09-29 Thread Joe Mason
On 9/30/07, David Seruyange <[EMAIL PROTECTED]> wrote: > I'm wondering how one caches things in python in a manner similar to how a > static variable or class member might in C#. I can only think of an > equivalent in something like a global variable, but is there another? I'm > not good enough ye

Re: [IronPython] Using blocks separators instead of indentation

2007-08-13 Thread Joe Mason
On 8/13/07, Ori <[EMAIL PROTECTED]> wrote: > > > OK I got the point. I have to use several statements in a single line. > > For exmpale, something like: > i = 1; if (i >=1): i = 0 > > is there a way to do it? Is there a replacement to the newline char? Why does it have to be in a single line? Ju

Re: [IronPython] Perl to Python

2007-07-16 Thread Joe Mason
Depends entirely on the complexity of the Perl code. For simple scripts that I've had to make changes to, I've definitely found it easier to run through it once to convert the entire thing to Python, because the mental space you're in when converting code is very different from the one you're in

Re: [IronPython] IronPython 2.0 Alpha 1 on Mono

2007-05-06 Thread Joe Mason
On Mon, May 07, 2007 at 12:13:16PM +0900, Sanghyeon Seo wrote: > Actually, this "128 properties" bug is fixed in Mono SVN, so I didn't > experience this. Well, I guess just I wasted a bunch of my time, then... I just finished building mono from SVN, and I think I now get the same patch you do. >

Re: [IronPython] IronPython 2.0 Alpha 1 on Mono

2007-05-06 Thread Joe Mason
Sanghyeon Seo <[EMAIL PROTECTED]> wrote: > After these, gmcs crashes inside Mono runtime with backtrace pointing > to custom attribute resolution. Still investigating, but above three > patches should help anyone trying to dig this on their own together > with me. :) The crash I'm getting is: *