Re: Memory errors with imaplib

2008-01-21 Thread Grant Edwards
On 2008-01-21, Christian Heimes <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: > >> If the solution shown in the bug report is correct, I'd be >> more than happy to generate a patch. > > The solution seems fine but IMO it should be fixed in the ssl > socket and not in imaplib. I like to get it *

Re: Memory errors with imaplib

2008-01-21 Thread Christian Heimes
Grant Edwards wrote: > If the solution shown in the bug report is correct, I'd be more > than happy to generate a patch. The solution seems fine but IMO it should be fixed in the ssl socket and not in imaplib. I like to get it *fixed* and not *worked around*. :) Christian -- http://mail.pytho

Re: Memory errors with imaplib

2008-01-20 Thread Grant Edwards
On 2008-01-20, Christian Heimes <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: >> The problem and the one-line soulution have been known for over >> two years and it's still an open bug? > > Nobody was interested to provide a patch. I raised the level of the bug. > It's going to be fixed soonish

Re: Memory errors with imaplib

2008-01-20 Thread Christian Heimes
Grant Edwards wrote: > The problem and the one-line soulution have been known for over > two years and it's still an open bug? Nobody was interested to provide a patch. I raised the level of the bug. It's going to be fixed soonish. Christian -- http://mail.python.org/mailman/listinfo/python-lis

Re: Memory errors with imaplib

2008-01-20 Thread Grant Edwards
On 2008-01-20, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > looks like a known bug in imaplib: > > http://bugs.python.org/issue1389051 > > "In a worst case scenario, you'll need some 13 gigabytes of > virtual memory to read a 15 megabyte message..." The problem and the one-line soulu

Re: Memory errors with imaplib

2008-01-20 Thread Fredrik Lundh
Martey wrote: > I am trying to use imaplib to download messages, but I keep getting > memory errors when I try to download a large message (i.e. one with > attachments). Here is my test code (similar to the example in the > imaplib documentation): > /.../ > I am using Mac OS X 10.5 and Python 2

Memory errors with imaplib

2008-01-19 Thread Martey
Hi everyone, I am trying to use imaplib to download messages, but I keep getting memory errors when I try to download a large message (i.e. one with attachments). Here is my test code (similar to the example in the imaplib documentation): import getpass, imaplib M = imaplib.IMAP4_SSL("imap.gmail