Message138716
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 |
|
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 | |
|