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 brett.cannon
Recipients alex, amaury.forgeotdarc, benjamin.peterson, brett.cannon, brian.curtin, exarkun, giampaolo.rodola, lemburg, pitrou
Date 2010-10-22.22:17:31
SpamBayes Score 0.011038854
Marked as misclassified No
Message-id <1287785853.06.0.999498237481.issue10093@psf.upfronthosting.co.za>
In-reply-to
Content
But this is meant to be an optional warning; users will never see it. Me as a developer, I would like to know when I leave a file open as that is a waste of resources, plus with no guarantee of everything being flushed to disk.

Besides, the context manager for files makes the chance of leaving a file open a much more blaring mistake.
History
Date User Action Args
2010-10-22 22:17:33brett.cannonsetrecipients: + brett.cannon, lemburg, exarkun, amaury.forgeotdarc, pitrou, giampaolo.rodola, benjamin.peterson, alex, brian.curtin
2010-10-22 22:17:33brett.cannonsetmessageid: <1287785853.06.0.999498237481.issue10093@psf.upfronthosting.co.za>
2010-10-22 22:17:31brett.cannonlinkissue10093 messages
2010-10-22 22:17:31brett.cannoncreate