Message133162
It is not clear from the docs what the expected behavior of factory is. It is certainly the case that the custom classes used by mailbox by default do not close the file they are passed. So either those classes should close the input file and factory should be so documented, or all the methods that create a message object should close the input file when they create one. Since the existing get_message methods take care to close any opened input files, I favor the latter (ie: the OP's suggestion).
Anyone care to propose a patch? |
|
Date |
User |
Action |
Args |
2011-04-06 20:18:52 | r.david.murray | set | recipients:
+ r.david.murray, gruszczy, moyix |
2011-04-06 20:18:52 | r.david.murray | set | messageid: <1302121132.67.0.267209561637.issue11767@psf.upfronthosting.co.za> |
2011-04-06 20:18:51 | r.david.murray | link | issue11767 messages |
2011-04-06 20:18:51 | r.david.murray | create | |
|