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 Arfrever, akira, martin.panter, piotr.dobrogost, pitrou, serhiy.storchaka, vstinner
Date 2016-03-25.13:33:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458912821.34.0.983904195985.issue19829@psf.upfronthosting.co.za>
In-reply-to
Content
> For io.BytesIO, I fixed the code to inherit correctly IOBase finalizer.

Oh, I forgot to include it in my patch. But it's maybe better to have it in a different patch: see attached bytesio_stringio.patch which changes also io.StringIO to inherit the IOBase finalizer.

Emitting a ResourceWarning in io.BytesIO and io.StringIO adds a *lot* of warnings when running the Python test suite. Since these objects only contain memory, no very limited resource like file descriptors, it's probably better to *not* log ResourceWarning for them.
History
Date User Action Args
2016-03-25 13:33:41vstinnersetrecipients: + vstinner, pitrou, Arfrever, akira, martin.panter, piotr.dobrogost, serhiy.storchaka
2016-03-25 13:33:41vstinnersetmessageid: <1458912821.34.0.983904195985.issue19829@psf.upfronthosting.co.za>
2016-03-25 13:33:41vstinnerlinkissue19829 messages
2016-03-25 13:33:41vstinnercreate