[IronPython] Developing a System.Web.Service.WebService

2005-05-03 Thread Anthony Tarlano
Hi all, I was wondering if anyone has successfully created a WebService in IronPython and deployed it using ASP.NET? If not I will make it a point to post my results after accomplishing the task.. ;-) One piece of information I need in order to begin is how I set the namespace for a package? I.

[IronPython] IronPython 0.7.4 released

2005-05-03 Thread Martin Maly
Hello IronPython community, We have just released IronPython 0.7.4. There were few feature requests and bug fixes that the community felt strongly about so we decided to release the 0.7.4 faster than usual. We hope that you will find the update useful even though we may have not delivered on all o

RE: [IronPython] IronPython 0.7.4 released

2005-05-03 Thread Keith J. Farmer
.. So how would I do such configuration for non-command-line programs? Do I need to always front the executable with a bat file? Such a requirement presents a big wart for those not living in the command line, and I don't see any good reason to let it remain. I think this is a point where Pyt

[IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Michael Spencer
Martin Maly wrote: Hello IronPython community, We have just released IronPython 0.7.4. There were few feature requests and bug fixes that the community felt strongly about so we decided to release the 0.7.4 faster than usual. Thanks I note sys.platform has also changed to '.NET', from 'java-clr'.

RE: [IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Martin Maly
Yes, it was part of getting the standard CPython's site.py to import correctly by IronPython. The standard site.py would assume that it is dealing with Jython if it detects 'java' as the prefix of the sys.platform string. Martin > Michael Spencer Wrote: > > Thanks > > I note sys.platform has al

Re: [IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Daniel Santa Cruz
How can I determine which standard functions are currently implemented by IronPython? Would: >>> import sys >>> dir() show me what we have? Thanks! Daniel___ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironp

RE: [IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Martin Maly
Hi Daniel, For the sys module, you can do: import sys dir(sys) and get the result that way. Similarly for __builtin__. For sys and __builtin__ what you see in dir is what is implemented (or else it is a bug). However, there are modules - for example recently added 'binascii' - in which we only h

[IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Michael Spencer
Martin Maly wrote: Yes, it was part of getting the standard CPython's site.py to import correctly by IronPython. The standard site.py would assume that it is dealing with Jython if it detects 'java' as the prefix of the sys.platform string. yep - but this cuts both ways ;-) sys.platform[:4] == 'ja

[IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Michael Spencer
Daniel Santa Cruz wrote: How can I determine which standard functions are currently implemented by IronPython? Would: import sys dir() show me what we have? Thanks! Daniel That will show the current namespace. Perhaps more useful to you is: >>> import __builtin__ >>> dir(__builtin__) ['Arithmet

[IronPython] Accessing Microsoft.Win32

2005-05-03 Thread Kirk Olynyk
I have tried everything that I can think of to access the Microsoft.Win32 assembly, but I can’t seem to get it. What is the canonical way of accomplishing this?   Kirk ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpy

RE: [IronPython] Accessing Microsoft.Win32

2005-05-03 Thread Keith J. Farmer
Have you tried: from Microsoft.Win32 import * dir() ...? From: [EMAIL PROTECTED] on behalf of Kirk Olynyk Sent: Tue 5/3/2005 3:01 PM I have tried everything that I can think of to access the Microsoft.Win32 assembly, but I can'

[IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Nick Jacobson
Michael Spencer wrote: << import __builtin__ >>> dir(__builtin__) ['ArithmeticError', 'AssertionError', 'AttributeError', 'DeprecationWarning', 'E OFError', 'Ellipsis', 'EnvironmentError', 'Equals', 'Exception', 'False', 'Float ingPointError', 'FutureWarning', 'GetHashCode', 'GetType', 'IOError',

RE: [IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Jim Hugunin
Nick Jacobson wrote: > What are nstr and zip2? Two little hacks that I wrote a long time ago while playing around with different implementation and performance ideas. They don't belong in __builtins__ any more and will be removed. In case you're curious: nstr is an ascii string type that I was

RE: [IronPython] Developing a System.Web.Service.WebService

2005-05-03 Thread Jim Hugunin
Anthony Tarlano wrote: > I was wondering if anyone has successfully created a WebService in > IronPython and deployed it using ASP.NET? > > If not I will make it a point to post my results after accomplishing > the task.. ;-) I haven't done it, but I'd love to see your results. I think that you

[IronPython] Temp directory for IronPython?

2005-05-03 Thread Keith J. Farmer
I’m noticing as I use IronPython that my disk is getting littered with site.* and snippets.* files.  I realize this allows for different sets of snippets, but could a more centralized cache be used?   IronPython/Cache//   .. or the like   …..   Gave up on trying to use the global en

RE: [IronPython] Temp directory for IronPython?

2005-05-03 Thread Jim Hugunin
It's just a bug that these go in the current directory. The site.dll file should be placed in the same directory as site.py as it is the logical equivalent of site.pyc. I don't know how hard this will be to implement. The snippets.dll file has no reason to be written to disk. This is only don