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 martin.panter
Recipients BreamoreBoy, Jim.Jewett, ezio.melotti, martin.panter, vstinner
Date 2015-01-14.02:26:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421202416.19.0.604109154371.issue14014@psf.upfronthosting.co.za>
In-reply-to
Content
Maybe it would be better to redefine the docstring to say it flushes the codec as well as calling flush() on the underlying stream.

But if you really want to finish the job you should probably be closing the underlying stream, which would flush if necessary. See Issue 460474, for adding a close() method which invokes reset().
History
Date User Action Args
2015-01-14 02:26:56martin.pantersetrecipients: + martin.panter, vstinner, ezio.melotti, BreamoreBoy, Jim.Jewett
2015-01-14 02:26:56martin.pantersetmessageid: <1421202416.19.0.604109154371.issue14014@psf.upfronthosting.co.za>
2015-01-14 02:26:56martin.panterlinkissue14014 messages
2015-01-14 02:26:55martin.pantercreate