MemoryError in imaplib?
When using "imaplib" to fetch e-mail messages, the "IMAP4_SSL.read"
and "IMAP4_SSL.readline" functions sometimes throw a "MemoryError"
exception in "chunks.append(data)" and "line.append(char)",
respectively. But if I change those functions to use instead a
"cStringIO" buffer object, then that exception doesn't get thrown.
Is this normal? I've seen this happen with Python 2.6.4 in both
Windows XP 32-bit and Windows 7 64-bit.
|All times are GMT. The time now is 03:46 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.