Message138716
| Author |
vstinner |
| Recipients |
BreamoreBoy, Trundle, amaury.forgeotdarc, brett.cannon, doko, flox, l0nwlf, ncoghlan, orsenthil, pitrou, r.david.murray, vstinner |
| Date |
2011年06月20日.13:59:10 |
| SpamBayes Score |
7.4698747e-10 |
| Marked as misclassified |
No |
| Message-id |
<1308578351.37.0.548048742115.issue7732@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
pyfile_fromfile_close.patch: patch based on issue7732_find_module_v2.diff, fixing this issue in Python 2.7
- PyFile_FromFile() closes the file on PyString_FromString() failure (note: unlikely failure)
- call_find_module() doesn't close the file anymore, PyFile_FromFile() closes already the file on failure (e.g. if the path is a directory)
- update PyFile_FromFile() doc to simplify that the file is closed on error |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月20日 13:59:11 | vstinner | set | recipients:
+ vstinner, brett.cannon, doko, amaury.forgeotdarc, ncoghlan, orsenthil, pitrou, r.david.murray, Trundle, flox, l0nwlf, BreamoreBoy |
| 2011年06月20日 13:59:11 | vstinner | set | messageid: <1308578351.37.0.548048742115.issue7732@psf.upfronthosting.co.za> |
| 2011年06月20日 13:59:10 | vstinner | link | issue7732 messages |
| 2011年06月20日 13:59:10 | vstinner | create |
|