Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-16 Thread Toni Alatalo
matan keret kirjoitti: I tried that as well :-) you are right, the _ssl module is a problem and I don't know how to work around that (don't know that much What was the prob with py 2.5 poplib with ip 2.6? Might be something simple.. How about using some .net lib for this directly? As a worka

Re: [IronPython] How to convert a 'str' type to byteArray

2009-11-11 Thread Toni Alatalo
Vernon Cole kirjoitti: Make sure what data type is really being returned by part.getpayload() . Perhaps it is already in a suitable for when you get it? Before he posted to the list we actually talked about this on irc too, and it seemed that it was unicode. He was seeing type 'str', but it

[IronPython] intellisense (Re: Announcing IronPython 2.6 Alpha 1)

2009-03-29 Thread Toni Alatalo
Leighton Haynes kirjoitti: I have to say – Intellisense is very high on our wishlist – we have many developers unfamiliar with Python, and Intellisense would ease the transition a lot. Has anyone looked at implementing this yet? I haven't looked at what IronPy studio or any other ironpy t

Re: [IronPython] What C# methods do __repr__ and __str__ use?

2008-05-23 Thread Toni Alatalo
Douglas S. Blank kirjoitti: will use it? Likewise, what C# method is used in Python's str(obj)? i don't know, but would guess ToString() .. and wonder about it if it wasn't that but something else :o repr() can't guess, i don't think there's an equivalent in .net, but can very well be mist

Re: [IronPython] IP 2.0 Hosting

2007-12-18 Thread Toni Alatalo
code just has failed attempts to load assemblies etc. that are now commented out :p ~Toni > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Toni Alatalo > Sent: Monday, December 17, 2007 1:04 AM > To: users@lists.ironpython.com >

Re: [IronPython] IP 2.0 Hosting

2007-12-17 Thread Toni Alatalo
On Monday 17 December 2007 03:52:03 Slide wrote: > I am at a huge loss trying to figure out hosting IP 2.0 in my C# > application to provide scripting capabilities to my app. Does ANYONE > have an example of this? I tried grabbing the document listed in a > post a little while ago, but the class na

Re: [IronPython] creating a scope for embedded scripts to run in

2007-11-13 Thread Toni Alatalo
On Tue, 13 Nov 2007, Toni Alatalo wrote: > ah - there indeed is an import call in the API - i just always assumed > that it works like import in the scripts, meaning that it can only import > modules that have already been exposed to the scripts somehow. yah seems my assumption there

Re: [IronPython] creating a scope for embedded scripts to run in

2007-11-13 Thread Toni Alatalo
On Tue, 13 Nov 2007, Fuzzyman wrote: > I don't have the API docs to hand - but what you want to do is to > effectively execute an import statement in your namespace. ah - there indeed is an import call in the API - i just always assumed that it works like import in the scripts, meaning that it c

[IronPython] creating a scope for embedded scripts to run in

2007-11-13 Thread Toni Alatalo
Hi, I've been struggling a lot with trying to create a scope / namespace / environment / something for embedded scripts to run in. Putting in instances with (in 2.0) SetVariable is fine, but so far I've not managed to put classes there (I wish classes were objects like in Python so things woul

Re: [IronPython] bugs with event handlers in 1.1 and 2.0 alpha 5

2007-11-08 Thread Toni Alatalo
On Wed, 7 Nov 2007, Dino Viehland wrote: Thanks for looking into it, I don't think the delay was too long at all :) Am sorry for not making the test output clearer / constructing the case as a proper unit test, was the last thing on a too long day it seems.. > function and fixed that on my machi

[IronPython] bugs with event handlers in 1.1 and 2.0 alpha 5

2007-11-05 Thread Toni Alatalo
Greetings, when making a scripting system with IronPython in an embedded context I encountered first a bug in 1.1 in re-adding event handlers that had been cleared in-between (I wanted that to be able to refresh the py written handlers on the fly) - that is reported as bug #13685 http://www.co