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 Trundle
Recipients Trundle
Date 2010-01-18.12:07:04
SpamBayes Score 1.147487e-09
Marked as misclassified No
Message-id <>
Create a directory "" and execute

>>> import imp
>>> imp.find_module('__init__', ['.'])

to reproduce that issue. It will crash because Python tries to double-close a file pointer: `call_find_module` will call `PyFile_FromFile`, but `PyFile_FromFile` closes the file pointer if it's a directory (by decrefing the created file object) and ` call_find_module` then closes the already closed file.
Date User Action Args
2010-01-18 12:07:07Trundlesetrecipients: + Trundle
2010-01-18 12:07:06Trundlesetmessageid: <>
2010-01-18 12:07:04Trundlelinkissue7732 messages
2010-01-18 12:07:04Trundlecreate