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.
Created on 2008年03月31日 05:11 by kawai, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| smtpd.patch | kawai, 2008年04月02日 04:03 | smtpd.py to use file-descriptor | ||
| Messages (3) | |||
|---|---|---|---|
| msg64776 - (view) | Author: HiroakiKawai (kawai) | Date: 2008年03月31日 05:11 | |
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. |
|||
| msg64777 - (view) | Author: HiroakiKawai (kawai) | Date: 2008年03月31日 05:23 | |
My carelessness, missing importing cStringIO |
|||
| msg309758 - (view) | Author: Barry A. Warsaw (barry) * (Python committer) | Date: 2018年01月10日 00:57 | |
I'm closing this as won't fix since smtpd.py is deprecated and will likely not get any future development. Please see aiosmtpd as a much better third party replacement. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:32 | admin | set | github: 46770 |
| 2018年01月10日 00:57:31 | barry | set | status: open -> closed resolution: wont fix messages: + msg309758 stage: test needed -> resolved |
| 2013年03月19日 19:52:03 | serhiy.storchaka | set | versions: + Python 3.4, - Python 3.2 |
| 2013年03月19日 19:41:56 | r.david.murray | set | nosy:
+ barry, r.david.murray components: + email, - Library (Lib) |
| 2010年08月09日 03:47:05 | terry.reedy | set | versions: + Python 3.2, - Python 3.1, Python 2.7 |
| 2009年03月30日 18:59:26 | r.david.murray | set | stage: test needed type: resource usage -> enhancement versions: + Python 3.1, Python 2.7, - Python 2.5 |
| 2008年04月14日 15:12:44 | giampaolo.rodola | set | nosy: + giampaolo.rodola |
| 2008年04月02日 04:04:00 | kawai | set | files: - smtpd.patch |
| 2008年04月02日 04:03:45 | kawai | set | files: + smtpd.patch |
| 2008年03月31日 05:23:26 | kawai | set | files: - smtpd.patch |
| 2008年03月31日 05:23:12 | kawai | set | files:
+ smtpd.patch messages: + msg64777 |
| 2008年03月31日 05:12:27 | kawai | set | type: security -> resource usage |
| 2008年03月31日 05:11:52 | kawai | create | |