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 jasujm, neologix, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2013-12-17.14:29:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387290582.65.0.509234591626.issue17976@psf.upfronthosting.co.za>
In-reply-to
Content
> The complete fix is maybe to write fflush() before fclose(), or at least raise an exception if fclose() returns a non-zero result. Correctly, file.close() returns a number in case of an error...

Oh sorry, I missed the line "if (sts == -1) ..." which raises an error.

But I'm still unable to reproduce the glibc bug mentioned by Charles-François :

> Yeah, who's volunteering to report it to the glibc?
History
Date User Action Args
2013-12-17 14:29:42vstinnersetrecipients: + vstinner, pitrou, neologix, python-dev, serhiy.storchaka, jasujm
2013-12-17 14:29:42vstinnersetmessageid: <1387290582.65.0.509234591626.issue17976@psf.upfronthosting.co.za>
2013-12-17 14:29:42vstinnerlinkissue17976 messages
2013-12-17 14:29:42vstinnercreate