Re: [IronPython] Backporting of bugs to 1.1

2007-06-05 Thread Fuzzyman
Sanghyeon Seo wrote: 2007/6/5, Michael Foord [EMAIL PROTECTED]: Also on systems with .NET 3, there is a reported speed degradation moving from 1 to 2, which we can't afford (and we aren't willing to depend on .NET 3 yet I'm afraid). I think you meant systems *without* .NET 3. I

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Fuzzyman
Shri Borde wrote: Michael, how does multiple engines help you when several pieces of user-code are running concurrently? It seems that if you are willing to live with some restrictions (like every thread having a single output stream), you should be able to live without multiple engines. We

[IronPython] Debugging IronPython - Question

2007-06-05 Thread Harald Krapfenbauer
Hello! I have a question regarding debugging of IronPython. I use version 1.1 and debugged a modified version of the first.py file from the Tutorial directory: -- def add(a, b): add(a, b) - returns a + b temp1 = a*2 temp2 = b*2

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Fuzzyman
Shri Borde said: Have you looked at moving to 2.0? Dino had mentioned a workaround (of maintaining a thread-local static) which would enable you to selectively redirect console output. Given that you are running into a number of issues and that you might have a stream of such issues going

[IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Fuzzyman
Hello all, A plea to 'the team'. urllib and urllib2 are Python standard libraries modules that provide a high level interface to accessing internet resources. They are widely used. These modules are broken for the official IronPython distribution, but they work with FePy thanks to patches

[IronPython] -S option has an additional side effect

2007-06-05 Thread Sanghyeon Seo
-S option disables the import of the module site. But in IronPython, it has an additional (probably unintended) side effect of not including Lib directory in sys.path. This is different from CPython. -- Seo Sanghyeon ___ users mailing list

Re: [IronPython] IronPython now runs faster on Mono

2007-06-05 Thread Paolo Molaro
On 06/05/07 Sanghyeon Seo wrote: This is because we JIT many more methods in 2.0 and the JIT time is accounted in the results. Adding a warmup call to pystone.py will get the 1.1 and 2.0 results much closer than they appear to be with a default run (58k vs 46k in the default and 59k vs 55k

Re: [IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Eric Larson
I would suppose getting these libs to work would also make httplib2 work as well. httplib2 is a *great* library that does an excellent job with caching, etags and authentication, all of which are huge regarding RESTful services (ie Atom Publishing Protocol). I only mention it in hopes of fueling

Re: [IronPython] -S option has an additional side effect

2007-06-05 Thread Dave Fugate
Thanks! Filed as CodePlex Work Item #10778 (http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=10778). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Tuesday, June 05, 2007 4:41 AM To: Discussion of IronPython Subject:

Re: [IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Dave Fugate
Thanks for reporting this Michael. Are there any open work items on CodePlex WRT socket that are blocking urllib/urllib2 from being used? If not, please let me know and I'll investigate this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman

Re: [IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Sanghyeon Seo
2007/6/6, Eric Larson [EMAIL PROTECTED]: I would suppose getting these libs to work would also make httplib2 work as well. httplib2 is a *great* library that does an excellent job with caching, etags and authentication, all of which are huge regarding RESTful services (ie Atom Publishing

Re: [IronPython] Sockets and Standard Library Modules in IronPython

2007-06-05 Thread Eric Larson
On 6/5/07, Sanghyeon Seo [EMAIL PROTECTED] wrote: 2007/6/6, Eric Larson [EMAIL PROTECTED]: I would suppose getting these libs to work would also make httplib2 work as well. httplib2 is a *great* library that does an excellent job with caching, etags and authentication, all of which are huge

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Shri Borde
I have attached a sample at the bottom of http://msdn2.microsoft.com/en-us/library/system.threading.executioncontext.aspx showing how state can be automatically propagated across thread boundaries. You should be able to set the desired output stream for each thread processing your data. Even

Re: [IronPython] Multiple engine instances in IP 2.0 and beyond (was IronPython 2.0 Alpha 1 Released)

2007-06-05 Thread Shri Borde
I agree that you should stick with 1.1 if you are close to release. We will fix critical blocking bugs in 1.1 as needed. However, to keep that branch stable, the bar will be high. Do shout if you run into blocking issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL