Re: [IronPython] Using blocks separators instead of indentation

2007-08-13 Thread Thane Plummer
x27;"; exec(mycommand) Test passed >>> May the Python gods 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 separ

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: [

[IronPython] array missing in IPY 2.0A3

2007-08-11 Thread Thane Plummer
"help", "copyright", "credits" or "license" for more information. >>> import array >>> arr = array.array('I') >>> l = range(12) >>> l [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] >>> arr.fromlist(l) >>

[IronPython] Newline oddities

2007-06-12 Thread Thane Plummer
of irregularities in representing 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 th

[IronPython] -X:MTA fails in IP 2.0

2007-06-12 Thread Thane Plummer
in IPY 2.0 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.ironpyth

Re: [IronPython] style question - site.py

2007-04-14 Thread Thane Plummer
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 Mes

[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] Do we have any option for Intellisense??

2006-11-28 Thread Thane Plummer
Have you looked at the code for tab completion? Ipy.exe -X:TabCompletion On the other hand, why not write it in Python? It works for me. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Blesson Varghese Sent: Tuesday, November 28, 2006 1:58 AM To: users@lists.iro

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. --

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: [E

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

2006-03-31 Thread Thane Plummer
us question, but this seems to be a more Pythonic solution. Brian's 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] [m

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] New proposed exception model for IronPython

2005-12-16 Thread Thane
will be.   (as Tim Peters might say) glad-to-point-out-problems-that-i-don’t-have-to-solve-ly y’rs,   --Thane   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernst, Nathan Sent: Thursday, December 15, 2005 9:22 PM To: Discussion of IronPython Subject: Re

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 PROTECTE