Re: [IronPython] fepy socket seek

2006-11-14 Thread Fredrik Lundh
Christopher Baus wrote: > I found a problem with the fepy socket module. Seek operations aren't > supported, but they are supported in CPython (not totally sure how they do > that). > > Here's an example. > > import socket > s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > s.connect(("baus

Re: [IronPython] fepy socket seek

2006-11-14 Thread Christopher Baus
> Here's an example. > > import socket > s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > s.connect(("baus.net", 80)) > file = s.makefile('wb', 1500) > file.write("anything\r\n") The problem only occurs with the binary mode set, which is very strange. The following: file = s.makefile('w',

[IronPython] fepy socket seek

2006-11-14 Thread Christopher Baus
I found a problem with the fepy socket module. Seek operations aren't supported, but they are supported in CPython (not totally sure how they do that). Here's an example. import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("baus.net", 80)) file = s.makefile('wb', 1500)

Re: [IronPython] vs integration

2006-11-14 Thread Bill64bits
That works. Thanks! Do you remember what "command IronPython.sln runs when you hit F5." ? - Original Message - From: Dino Viehland To: Discussion of IronPython Sent: Tuesday, November 14, 2006 3:44 PM Subject: Re: [IronPython] vs integration How are you

[IronPython] Need authors for IronPython books

2006-11-14 Thread Mahesh Prakriya
Couples of publishers have ping’ed me about whether anyone is interested in writing a book on IronPython and they’re currently bottlenecked on finding qualified authors.   If you can write/explain well and have strong Python and .NET background, this is a great opportunity to consider. P

Re: [IronPython] vs integration

2006-11-14 Thread Dino Viehland
How are you starting VS after the installation, are you starting the experimental hive?  The way I typically start this is in  %ProgramFiles% (%ProgramFiles(x86)% if yo’re on 64-bit) there’s a Visual Studio 2005 SDK folder that has a year.month folder (I don’t remember what v3 is off the to

Re: [IronPython] vs integration

2006-11-14 Thread Bill64bits
File->New Web Site was used in an example I looked at.   But I tried it your way, and File->New Project does not show anything about IronPython.   - Original Message - From: Dino Viehland To: Discussion of IronPython Sent: Tuesday, November 14, 2006 2:03 PM Subject:

Re: [IronPython] vs integration

2006-11-14 Thread Dino Viehland
Are you doing File->New Web Site?  I think you need to do File->New Project   Then choose IronPython->Web from the tree view and then there are options for ASP.NET Web Application.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill64bits Sent: Tuesday, November 14

[IronPython] vs integration

2006-11-14 Thread Bill64bits
I installed the Visual Studio 2005 SDK “v3” on my box (win2000 server) but when I create a new web_site, IronPython is not given as a choice under "language". Do I have to do something else to make it work?   (yes, IronPython-1.0.1 is installed) _

Re: [IronPython] Secret project: Simplified Data Scenarios (?)

2006-11-14 Thread David Ebbo
Hi Luis,   This was a prototype of something that we’re working on.  It is still at a very early stage, so we’re not ready to give bits out yet.  We will definitely announce it to this list when we are ready for an external testing phase, so stay tune!   Thanks, David   From: [EM

Re: [IronPython] Receiving command line arguments

2006-11-14 Thread Alex Li
Thanks Dino, You are right, my file extension association wasn't created properly I missed the %* at the end of the open action. Regards, Alex ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpyt

Re: [IronPython] Receiving command line arguments

2006-11-14 Thread Dino Viehland
If System.Environment.CommandLine isn't reporting the arguments then it sounds like the arguments aren't getting passed to ipy.exe. I just tried this on both XP, Server 2k3, and Vista and it worked on all three. Steps I followed: Create .ipy file: copy con foo.ipy import sys print sys.argv ra

Re: [IronPython] co_name in code objects

2006-11-14 Thread Dino Viehland
Thanks for the bug report! I've filed this as CodePlex bug 5641 (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=5641) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Muirhead Sent: Tuesday, November 14, 2006 9:34

[IronPython] co_name in code objects

2006-11-14 Thread Christian Muirhead
Hi - We noticed a small difference between CPython and IronPython: CPython: >>> c = compile("x = 2", "test", "exec") >>> c.co_filename 'test' IronPython 1.0.1 >>> c = compile("x = 2", "test", "exec") >>> c.co_filename >>> (That is, it was None) It would be handy for us if IP's behaviour

[IronPython] Secret project: Simplified Data Scenarios (?)

2006-11-14 Thread Luis M . González
I just read an article in eWeek entitled "Secret Microsoft Project Ties IronPython to ASP.NET": http://www.eweek.com/article2/0,1759,2053498,00.asp?kc=EWRSS03119TX1K594   It mentions a secret project called "Simplified Data Scenarios" where developers can "easily build data-bound applicat

[IronPython] Secret project: Simplified Data Scenarios (?)

2006-11-14 Thread Luis M . González
I just read an article in eWeek entitled "Secret Microsoft Project Ties IronPython to ASP.NET": http://www.eweek.com/article2/0,1759,2053498,00.asp?kc=EWRSS03119TX1K594   It mentions a secret project called "Simplified Data Scenarios" where developers can "easily build data-bound applicati

[IronPython] Receiving command line arguments

2006-11-14 Thread Alex Li
Hi all, I am on Windows XP. I wrote a IronPython script that I want to run from anywhere on my file system. So I associated the extension (I use .ipy since I already have .py asscoiated with python.exe) with ipy.exe, and put my IronPython script into the search PATH. Now when I open a command

[IronPython] Simplified Data Scenarios framework?

2006-11-14 Thread luismg
I read this article about a "secret" project that is tied to Ironpython: http://www.eweek.com/article2/0,1759,2053498,00.asp?kc=EWRSS03119TX1K594 Does anyone know about this? Luis ___ users mailing list users@lists.ironpython.com http://lists.ironpy

Re: [IronPython] base64 bug

2006-11-14 Thread Alex Henderson
I tend to agree about the 1.0 Argument, the lack of a true specification for this functionality makes these things a trial and error process, and until the Iron python user base grows, there just simply isn't enough user coverage to have ironed out the obvious wrinkles (or in some cases, forgetting

[IronPython] Reading configuration file from Interpreter

2006-11-14 Thread erase_ego
I have a .NET DLL which reads a configuration file using classes in System.Configuration namespace. I am running methods in this DLL from IronPython interpreter. It is working fine except that it is not able to read the configuration file. I have the configuration file in the same folder as the DL