This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kawai
Recipients kawai
Date 2008-03-31.05:11:49
SpamBayes Score 0.1397506
Marked as misclassified No
Message-id <1206940317.15.0.464118270083.issue2518@psf.upfronthosting.co.za>
In-reply-to
Content
I had some problems when I wanted to do attach a huge data file (such 
as mp3, avi, or etc.) to an email. Current smtpd.py in Python2.5 calls 
process_message that takes a string for its argument. This cause python 
running process to consume too much memory.

I'd like to suggest an alternative method for this purpose 
process_message_huge that takes a file-descriptor for its argument. The 
patch will use process_message_huge if the method exists, otherwise, it 
will call process_message with a string that will consume a huge memory 
for backward compatibility.
History
Date User Action Args
2008-03-31 05:11:57kawaisetspambayes_score: 0.139751 -> 0.1397506
recipients: + kawai
2008-03-31 05:11:57kawaisetspambayes_score: 0.139751 -> 0.139751
messageid: <1206940317.15.0.464118270083.issue2518@psf.upfronthosting.co.za>
2008-03-31 05:11:52kawailinkissue2518 messages
2008-03-31 05:11:52kawaicreate