Re: [IronPython] 2.6.1 implements ssl module, but it crash...

2010-04-13 Thread qiuyingbo
I traced the bug and found it occurred when our imap server close connection after imap authentication.It seems that SSLSocket.read() cannot raise exception in this situation. It return 0.Then IMAP4_SSL.readline() go into infiniteloop:     def readline(self):    """Read line from

Re: [IronPython] 2.6.1 implements ssl module, but it crash...

2010-04-13 Thread Dino Viehland
qiuyin...@sohu.com wrote: > import imaplib > c = imaplib.IMAP4_SSL('imap.sohu.com', 993) > c.login(myusername, mypassword) > > ipy.exe memory footprint increase to 170M... and crash soon. > > 2.6.1 and 2.6.1with.NET4 has the same problem Any idea what the crash is? Is it popping up the normal w

[IronPython] Code Access Security?

2010-04-13 Thread Neidhoo Xaphier
Hello, I created an DLL-File 'a.dll' from my IronPython module/library 'a.py'. This module uses SqlClient functions. While 'a.py' is running nicely directly from IronPython the 'a.dll' doesn't run correctly when I try to use any of the SQL-related parts. I get the following error message: SystemE

[IronPython] Marking an IronPython class as serializable

2010-04-13 Thread Pablo Dalmazzo
Hi, I need to mark an IronPython class as serializable . Is it possible to do this? Now I know this could be a bad idea for performance reasons and other reasons perhaps, but I want to store a custom class object in the asp.net webforms ViewState, that way when the page is closed the object