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 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 <>
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:11vstinnersetrecipients: + vstinner, brett.cannon, doko, amaury.forgeotdarc, ncoghlan, orsenthil, pitrou, r.david.murray, Trundle, flox, l0nwlf, BreamoreBoy
2011-06-20 13:59:11vstinnersetmessageid: <>
2011-06-20 13:59:10vstinnerlinkissue7732 messages
2011-06-20 13:59:10vstinnercreate