Re: [IronPython] IronPython Hosting ?

2011-02-28 Thread Mark Senko
Hmmm Didn't Microsoft dump support of IronPython? ( I notice that's your email address) *Bill, what are your goals for asking how we use hosting? *Why does it matter what the purpose of my application is, as long as I feel it is worthwhile? *I'm still discovering the features I have availab

Re: [IronPython] Passing arguments to C#

2011-01-04 Thread Mark Senko
f (type == "System.Double") { return (double)pList[index]; } else throw (new ApplicationException("Can't convert Python list to Double")); } It's a little clumsy, but I'd rather push this down into the C# where I c

[IronPython] Passing arguments to C#

2010-12-28 Thread Mark Senko
resigned to writing wrappers in Python to hide clr.Reference[type]() from my users when calling a C# functions that requires an "out" or "ref" parameters. Thanks in advance for reading a post that I *know* is as much rant as question. It's just been frustrating

Re: [IronPython] SciPy

2010-12-20 Thread Mark Senko
. Mark Senko Complete Genomics, Inc. 2071 Stierlin Court Mountain View, CA 94043 From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Jason McCampbell Sent: Monday, December 20, 2010 7:13 AM To: Discussion of IronPython Subject: Re

[IronPython] SciPy

2010-12-16 Thread Mark Senko
towards accommodating the C API? Is IronClad still the best option? Any info, suggestions and warnings would be appreciated before I start to invest a lot of time into installing and learning these packages. Mark Senko Complete Genomics, Inc. 2071 Stierlin Court Mountain View, CA 94043

[IronPython] Using WebClient with Gestalt

2010-10-28 Thread Mark Heath
erted an IronPython WPF app to Silverlight that was using MVVM, but in Silverlight none of the bindings worked at all. thanks Mark ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Return value from Execute()

2010-10-11 Thread Mark Senko
users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Jeff Hardy Sent: Monday, October 11, 2010 12:10 PM To: Discussion of IronPython Subject: Re: [IronPython] Return value from Execute() On Mon, Oct 11, 2010 at 11:40 AM, Mark Senko wrote: > But I've had an impossi

[IronPython] Return value from Execute()

2010-10-11 Thread Mark Senko
I'm trying to implement IronPython as a scripting enhancement to our application. Part of the design is to have an interactive screen available. When I call the Execute() method with a command typed in by the user, an object is returned. I can easily write this to my window using _pythonRes.T

Re: [IronPython] CreateScriptSourceFrom ... database?

2010-03-04 Thread Mark Grice
Dino, Thanks for the reply. Actually, I did have an error in the string, and I fixed that. But the real problem seems to be with the "Import" statement. I put my common methods in a file that I then import into the various Python script files. It makes sense that the script would error, since, as

[IronPython] CreateScriptSourceFrom ... database?

2010-03-01 Thread Mark Grice
ay of accomplishing this that is escaping me? Has anyone ever done anything similar? Thanks! -Mark Grice ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Using a C# class in IronPython

2010-02-17 Thread Mark Grice
I'm not sure if this helps, but I use a C# class in my IronPython, and it works fine. Class is defined using the shorthand get; set; ie: public class ScreenTags { public String appWindowName { get; set; } public String fieldName { get; set; } public bool isDataField {

Re: [IronPython] How can I exit from Python Script File?

2010-02-16 Thread Mark Grice
Michael Foord Wrote: >"That will throw a SystemExit exception. You can have exception handling >in your C# that catches this specific error." Doh! Yeah... should have checked that. I just didn't figure calling sys.Exit() was a code exception, so I thought it was something else I was doing wrong.

[IronPython] How can I exit from Python Script File?

2010-02-15 Thread Mark Grice
I am using IronPython within a C# .NET application. I have a class that the Python code uses, so I create a scope and set the variable, then execute the engine like this: private ScriptEngine scptEngine = null; private ScriptRuntime scptRuntime = null; private ScriptScope

[IronPython] Is this a bug in IP 2.0?

2008-12-23 Thread Mark Russo
In IronPython 2.0, when I replace a Point object in a list using assignment, a copy of the Point object is used to replace the original list element rather than the original Point itself. This does not happen with user-defined objects. It also does not happen with Point objects in IronPython 1.

Re: [IronPython] Problem inheriting from C# abstract base class with overloaded constructors

2008-12-12 Thread Mark Traudt
Dino Viehland-2 wrote: > > This is bug #20021 - > http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20021 > > I checked a fix for this in today into the Main branch (which is 2.1). I > think that should show up on CodePlex tonight or tomorrow if you're > willing to build IronPyt

[IronPython] Problem inheriting from C# abstract base class with overloaded constructors

2008-12-03 Thread Mark Traudt
If I create an abstract base class in C# that has overloaded constructors, and then subclass from this in IronPython, then I am unable to call the non-default base class constructor from the __new__ method in the subclass. If I try, I get the result shown after the code sample. Interestingly, if

Re: [IronPython] Win32pipe, win32File, Win32api

2007-12-12 Thread Mark Rees
The win32 modules are Python C extension modules that provide access to various windows api's. Currently IronPython can not use CPython C extensions. But since IronPython has full access to .NET assemblies, there will be calls you would be able to utilise. Mark On Dec 12, 2007 9:

[IronPython] Contributions to IronPython library source

2007-07-23 Thread Mark Rees
IronPython 2.0 libraries and hopefully IronPython 1.1. Regards Mark ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] directshow and vmr9

2007-06-18 Thread mark
Ive done some work with python but .Net is completely new to me. IronPython looks to be capable of using most directX functions. Am I correct there? Im trying to use the vmr9 in DirectShow to alpha blend 2 videos, can anyone point me in the right direction. I apologise if this list is for far

Re: [IronPython] Python Command Line Compiler issues and questions

2006-12-31 Thread Mark Rees
it to: if __name__ == '__main__' or __name__ == sys.executable: It's discussed in this post: http://hex-dump.blogspot.com/2006/08/deploying-gdata-reader-as-executable.html Mark On 1/1/07, Michael Foord <[EMAIL PROTECTED]> wrote: Patrick O'Brien wrote: > If you compil

Re: [IronPython] NT Module

2006-12-12 Thread Mark Rees
he os module is the reference you want. http://docs.python.org/lib/module-os.html Mark On 12/13/06, anders conbere <[EMAIL PROTECTED]> wrote: Is there documentation on the nt module somewhere? or is this based of a set of common windows functions? Tha

Re: [IronPython] Some patches

2006-11-12 Thread Mark Rees
This is why we need to give Sanghyeon more help with his FePy project. fepy.sourceforge.net provides an avenue for us to make IronPython more useful for people who want to use it with the CPython libraries or need fixes to problems in a rapid timeframe. Imho IronPython in it's current form is get f

Re: [IronPython] re incompatible with CPython?

2006-11-12 Thread Mark Rees
Sadly it would appear that Microsoft are not accepting code contributions yet (for example, in this mail thread back in Sept 2006 Dino says this), hopefully it will change. Microsoft dynamic language team, please correct me if I am wrong. In the past, if someone reports any regex bug with a self-c

Re: [IronPython] Is there any IronPython or CPython lib for CVS?

2006-11-07 Thread Mark Rees
I google'd as Sanghyeon said, and the first link pointed me to this:http://rhaptos.org/downloads/python/pycvs/From the README.txt"pycvs is a python module that wraps the command-line cvs executable." You asked for an IronPython or CPython library for cvs. It is CPython only as it uses the popen2 mo

Re: [IronPython] IronPython for ASP.net CTP is now live @ www.asp.net/ironpython

2006-11-03 Thread Mark Rees
The CTP installer will download the hotfix and offer to install it if your system needs it.MarkOn 11/3/06, Sanghyeon Seo < [EMAIL PROTECTED]> wrote:2006/11/3, Mahesh Prakriya < [EMAIL PROTECTED]>:> We just went live with our Community Technology Preview of IronPython for> ASP.net.The download page

Re: [IronPython] Rewrite of WSGI handler

2006-11-02 Thread Mark Rees
On 11/3/06, Christopher Baus <[EMAIL PROTECTED]> wrote: I'm beginning to wonder if we really need the reload IronPythonfunctionality in WSGI.  It adds some complexity for not a lot of realgain.  I thought one reason for reloading the interpreter would be toreload all the modules, but that can be do

Re: [IronPython] Rewrite of WSGI handler

2006-11-01 Thread Mark Rees
Nice job Christopher. I have no problem with combining WSGI and WSGI-SI into one handler. Also testing with my simple wsgi apps under your code and xsp2 works ok so far. Have a more complex app which I will try later tonight. In wsgi.py you comment "There isn't an obvious way to get request protoco

Re: [IronPython] IronPython URLs

2006-10-31 Thread Mark Rees
/posts/default?alt=rssAny links or suggestions appreciated.Mark On 10/31/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote: Mark Rees presents the second part of his IronPython and ADO.NET tutorial.http://hex-dump.blogspot.com/2006/10/ironpython-and-adonet-part-2.html Przemek Piotrowski discusses using

Re: [IronPython] wsgi.py update and codecs errors

2006-10-30 Thread Mark Rees
Hi Christopher,I had just checked in some changes to wsgi.py and checked my email and found your patch. I am getting the CGI variables a different way and would be interested in your comments. I am happy to include your changes as well re wsgi.py, but will leave the codecs_errors.py for Sanghyeon

Re: [IronPython] register module with an IronPython engine

2006-10-25 Thread Mark Rees
I am sure that effbot (fredrik) understands how to do what DIno suggested, but for those who do not or are interested, I have an example at http://hex-dump.blogspot.com/2006/10/using-ironpythons-101-new-community.htmlRegardsMarkOn 10/26/06, Dino Viehland < [EMAIL PROTECTED]> wrote:You can apply th

Re: [IronPython] Blog post on IronPython problems

2006-10-14 Thread Mark Rees
This is how I get round one of the authors concerns, lack of .pth file support:http://hex-dump.blogspot.com/2006/10/adding-pth-file-support-to-ironpython.html MarkOn 10/14/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote: http://substantiality.net/articles/2006/10/05/ironpython-is-1-0The title is really

Re: [IronPython] FePy TODO

2006-10-09 Thread Mark Rees
Looks good. If you want, I am happy to write up 2 items of documentation: * How to get .NET DB connection from Python DB connection. * How to set up WSGI within ASP.NET.Is ReST is the preferred format? MarkOn 10/10/06, Miguel de Icaza <[EMAIL PROTECTED]> wrote: Hello,> Today I sat down and wrote

Re: [IronPython] Telnet API

2006-09-26 Thread Mark Rees
() tn.Receive() while not done: tn.Send(raw_input() + tn.CR) Regards Mark On 9/27/06, Martin Maly <[EMAIL PROTECTED]> wrote: > > > > Telnetlib is a module implemented in Python so ideally IronPython should be > able to run it. At this point, however, there is a module "

Re: [IronPython] A SourceForge project?

2006-09-14 Thread Mark Rees
Another option is http://code.google.com/hosting It is subversion, takes no time to setup and has a ticket system. Only downside is you cannot use it to serve files outside of the subversion. Mark On 9/15/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote: > 2006/9/15, Kevin Chu <[EMA

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

2006-09-07 Thread Mark Spink
I had the same problem, but it downloaded fine after several retries. Mark On Wed, 2006-09-06 at 11:10 -0700, Keith J. Farmer wrote: > I saw that. After logging in, I was able to successfully download. I don't > know if it was a timing issue or a

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

2006-09-05 Thread Mark Rees
ow it "pigs will fly" :-) Keep up the good work. Mark http://hex-dump.blogspot.com On 9/6/06, Jim Hugunin <[EMAIL PROTECTED]> wrote: > I'm extremely happy to announce that we have released IronPython 1.0 today! > http://www.codeplex.com/IronPython > __

Re: [IronPython] Traceback Objects?

2006-09-05 Thread Mark Rees
activeAction, Boolean& continueInteraction) AttributeError: 'NoneType' object has no attribute 'tb_frame' So maybe it is a bug, or you can use traceback for simple things but not printing the stack or maybe it only affects Australians like you and me. Regards Mark On 9/

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Mark Rees
simple so there may be other as yet undiscovered issues. Regards Mark Modified version of pyexpat from http://sparcs.kaist.ac.kr/~tinuviel/fepy/old/pyexpat.py import clr clr.AddReference("System.Xml") from System.IO import MemoryStream, SeekOrigin, StreamWriter from System.

Re: [IronPython] weirdness with DataGridViewButtonColumn

2006-08-02 Thread Mark Rees
It's not a problem with your workstation. I get exactly the same as you. On 8/3/06, jeff sacksteder <[EMAIL PROTECTED]> wrote: > Could someone please try the following code? By every piece of documentation > I can find, this SHOULD create two button columns with the text provided > displayed on th

Re: [IronPython] PythonEngine.SetVariable not in 1.0 RC1

2006-07-27 Thread Mark Rees
Yes the hosting api has changed. It was documented in the beta9 release announcement: http://lists.ironpython.com/pipermail/users-ironpython.com/2006-July/002808.html But to paraphrase: One of the most significant changes is the final updates to the hosting API. The hosting APIs have removed t

Re: [IronPython] md5 builtins module

2006-07-27 Thread Mark Rees
Great work Kevin. It's my understanding that the IP team want to overtime make more of the standard library modules that rely on compiled extensions part of the IP Module.cs. So you have done one for them. The bigger issue that was discovered when you tried running Seo's md5.py is the IP's way of

Re: [IronPython] md5.py throws exception

2006-07-26 Thread Mark Rees
#x27;ve filed the bug on CodePlex. It is a good one to > look at for the final release. > > Thanks for the report! > > Martin > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Rees > Sent: Tuesday, July 25, 2006 8:14

[IronPython] TypeError: multiple overloads of Create could match()

2006-07-26 Thread Mark Rees
ves the error Kevin reported. I get a similar error if I do: m = MD5.Create("MD5") Is this a bug? Regards Mark ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] md5.py throws exception

2006-07-26 Thread Mark Rees
t; File D:\TECH\IronPython\Lib\md5.py, line 15, in __init__ > TypeError: multiple overloads of Create could match () > Create() > Create() It worked in previous betas, but hadn't tested against RC1 yet. Let me have a look and see if I can fix. Mark __

Re: [IronPython] speed

2006-07-26 Thread Mark Rees
Yes the speed improvement in RC1 is much appreciated. I am doing an IronPython presentation at the Sydney Python User Group tomorrow evening, and was expecting negative comments about IronPython Console launch time. RC1 has given a 2.5 speedup. Thanks. Mark On 7/26/06, Luis M. Gonzalez <[EM

Re: [IronPython] IronPython 1.0 RC1 is Released

2006-07-26 Thread Mark Rees
As an interim solution our friend Seo has an implementation of md5 for IronPython. http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib/ On 7/26/06, Kevin Chu <[EMAIL PROTECTED]> wrote: > I am glade to hear about this greate news! > Especially, it implemented a large number of the standard CPython > buil

Re: [IronPython] IronPython (PythonCodePovider) for ASP.NET?

2006-07-26 Thread Mark Rees
On 7/26/06, Mark Rees <[EMAIL PROTECTED]> wrote: > It does give you access to "true" ASP.NET page generation, needs some > docs and a lillte more work. Opps, a small typo, I meant: It does not give you access to "true" ASP.NET page generation, Sorry if the ty

Re: [IronPython] IronPython (PythonCodePovider) for ASP.NET?

2006-07-26 Thread Mark Rees
ion at: http://svn.isapi-wsgi.python-hosting.com/sandbox/mark/ironpy-wsgi/ It does give you access to "true" ASP.NET page generation, needs some docs and a lillte more work. But I have been using it for RSS/Atom feed generation from a ADO.NET database under both IIS ASP.NET and Apache

Re: [IronPython] Can not use httplib in ironpython beta9?

2006-07-18 Thread Mark Rees
le.com').read( <http://www.google.com%27%29.read%28>) print data Regards Mark ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] IronPython 1.0 Beta Docs are wrong

2006-01-25 Thread Jonathan Mark
eserved. >>> 2+2 4" However, if I run IronPythonConsole I get a blank popup that says '.NET Framework Initialization Error' What am I doing wrong? Should I not be using the .NET 2.0 Beta? This beta is the only version of .NET 2.0 that is available online. Jonathan Mark GoodbyeJ