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:50 PM, Kaveripaka

[IronPython] Contributions to IronPython library source

2007-07-23 Thread Mark Rees
Hi, I see in John Lams announcement of the IronRuby first source code release (http://www.iunknown.com/2007/07/a-first-look-at.html), they will be accepting source code contributions into the IronRuby libraries. So I cannot resist asking if the IronPython will have the same policy soon for IronPyt

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

2006-12-31 Thread Mark Rees
I have a simple IronPython script that will compile an IronPython executable with multiple source files http://hex-dump.googlecode.com/svn/trunk/ironpython-gdata-tutorial/tut03/makeexe.py and to handle the "if __name__ == '__main__':" idom you just need to change it to: if __name__ == '__main__

Re: [IronPython] NT Module

2006-12-12 Thread Mark Rees
In CPython for cross os support you would normally import the os module which is a wrapper to use the correct bullt-in for the os either posix, mac or nt module. Since the standard IronPython distribution for Windows doesn't ship with the os module you import nt directly, but the docs for the os m

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
Seo has a select module that workes with IronPython, but there are also other issues with telnetlib relating to how it's uses sys.stdin which I do not have time to investigate at the moment. But you could use the following open source assembly as the basis for a telnet IP library. http://dotnette

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 <[EMAIL PROTECTED]>: > >

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

2006-09-05 Thread Mark Rees
Thanks to everyone in the IronPython Team for an excellent product. I have been following the progress since Jim's first release and using it for real things over the last couple of months. I cannot believe I am developing cross-platform apps on Linux using a Microsoft product, Before we know it "p

Re: [IronPython] Traceback Objects?

2006-09-05 Thread Mark Rees
Was hoping someone with more knowledge would answer your question but think theres been a holiday in the US. I cannot say if IP behaves the same as CPython in this case, but I was going to say that using the the standard traceback module allows printing of the stack. Even one of the IP team said it

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Mark Rees
Hi, Seo has already done a basic pyexpat wrapper. He posted about it in: http://lists.ironpython.com/pipermail/users-ironpython.com/2005-November/001227.html And it can be found at: http://sparcs.kaist.ac.kr/~tinuviel/fepy/old/pyexpat.py I have used this with ElementTree. There are limitations

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
On 7/26/06 in another thread, Kevin Chu <[EMAIL PROTECTED]> wrote: > I try this md5.py,but throw an exception! > > >>> import md5 > >>> m=md5.new() > Traceback (most recent call last): > File , line 0, in ##12 > File D:\TECH\IronPython\Lib\md5.py, line 31, in new > File D:\TECH\IronPython\Lib

[IronPython] md5.py throws exception

2006-07-26 Thread Mark Rees
On 7/26/06, Kevin Chu <[EMAIL PROTECTED]> wrote: > I try this md5.py,but throw an exception! > > >>> import md5 > >>> m=md5.new() > Traceback (most recent call last): > File , line 0, in ##12 > File D:\TECH\IronPython\Lib\md5.py, line 31, in new > File D:\TECH\IronPython\Lib\md5.py, line 15,

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 <[EMAIL PR

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
Dino wrote: The main concern is that we are shoe-horning a dynmamic language into a static world and that's not really the right thing to do. With enough effort we might be able to pull it off, but there might be a better way to go which enables ASP.NET w/o the feeling of it not being Python. T

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

2006-07-18 Thread Mark Rees
peter lin wrote: "It seems the method getaddrinfo() is not currently implemented. I test another module urllib, which uses httplib." I had a similar problem but thanks to our friend Seo Sanghyeon, there is a possible solution until the IronPython socket module supports getaddrinfo(). I have docu