Re: [IronPython] Using blocks separators instead of indentation

2007-08-13 Thread Thane Plummer
mycommand = i = 1\nif i = 1:\n\tprint 'Test passed'\nelse:\n\tprint 'test failed' exec(mycommand) Test passed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ori Sent: Monday, August 13, 2007 5:23 PM To: users@lists.ironpython.com Subject: Re:

Re: [IronPython] Using blocks separators instead of indentation

2007-08-13 Thread Thane Plummer
have mercy! --Thane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ori Sent: Monday, August 13, 2007 5:23 PM To: users@lists.ironpython.com Subject: Re: [IronPython] Using blocks separators instead of indentation Thanks but I did not ask if it is ugly

[IronPython] array missing in IPY 2.0A3

2007-08-11 Thread Thane Plummer
, 3, 4, 5, 6, 7, 8, 9, 10, 11] arr.fromlist(l) arr array('I', [0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L]) type(arr) type 'array.array' Thane Plummer TKP Inc. Augusta, GA No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus

[IronPython] -X:MTA fails in IP 2.0

2007-06-12 Thread Thane Plummer
Thane Plummer TKP Corp. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 6/12/2007 6:39 AM ___ users mailing list users@lists.ironpython.com http

[IronPython] Newline oddities

2007-06-12 Thread Thane Plummer
the newline sequence, but this is a new one for me. Is this behavior intended? --Thane P.S. I've fixed the behavior so my IDE works nicely, otherwise it doesn't recognize the newline. Thane Plummer TKP Corp. No virus found in this outgoing message. Checked by AVG Free

[IronPython] Intellisense in Python

2006-11-28 Thread Thane Plummer
Here's how I implement intellisense in Python. This is very easy for an interactive command line, and a bit trickier for an editor. The code was gleaned from an Idle implementation, and I haven't changed it in years. It works fine with both CPython and IronPython, returning both the stdlib and

Re: [IronPython] Cheetah works on IronPython

2006-09-18 Thread Thane Plummer
The md5 is a known issue; I know Seo has code, but I seem to recall a post saying that it didn't work (http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib ). Kevin Chu posted an md5 module to this list - you might give try using that before spending too much time investigating your sys.path. --Thane

Re: [IronPython] [ANN] IronPython 1.0 released today!

2006-09-07 Thread Thane Plummer
Here's a link to the Udell video: http://weblog.infoworld.com/udell/screenroom/ironpython_wmv.html An excellent overview of ipy by Jim. At the risk of sounding redundant, thanks to the entire IronPython team for creating such a great 1.0 release! import this _ From:

Re: [IronPython] [Python.NET] Naming and resolution of generic types (complete!)

2006-03-31 Thread Thane Plummer
question makes me wonder if Python can be all things to all programmers, and my thinking is: no, it can't. Trying to make it so will just pollute the language. --Thane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Lloyd Sent: Friday, March 31, 2006

Re: [IronPython] basic questions

2006-03-01 Thread Thane Plummer
The C++ guys would be glad to provide you with pointers. The Managed C++ people will give you pointers, but only safe ones. The C# group will give you pointers, but only if they _really_ have to. The Python group gives you pointers all the time, but you're never really aware of it. But seriously

Re: [IronPython] IronPython IDE

2005-12-08 Thread Thane
You can try this: http://www.magna-capital.com/Articles/PythonIDE.html I wrote it for my personal use, so I can't guarantee anything and there's no help manual (yet). Feel free to try it out and use it if you like. --Thane -Original Message- From: [EMAIL PROTECTED] [mailto:users

RE: [IronPython] Extension methods...

2005-09-20 Thread Thane
statement completion (this is a BIG plus for compilers), while the SQL equivalent of select-from-where does not permit this. --Thane -Original Message- From: Michael Latta [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 12:47 PM To: 'Discussion of IronPython'; [EMAIL PROTECTED

[IronPython] RE: Numpy port

2005-08-27 Thread Thane
There are two approaches: 1) wrap the unmanaged API in managed C++, or, 2) rewrite the library in managed code (IronPython?). Also, I think the Numeric library would be preferable to Numpy, although I'd bet Numpy has a larger user base. Option 1 could be done fairly quickly, but option 2 is the

RE: [IronPython] RE: Numpy port

2005-08-27 Thread Thane
Correction: the library I was thinking of is called Numarray. See http://www.stsci.edu/resources/software_hardware/numarray I think that numpy is the import name for the Numerical library originally created by Paul Dubois. _ Also, I think the Numeric library would be preferable