Message262439
> 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. |
|
Date |
User |
Action |
Args |
2016-03-25 13:33:41 | vstinner | set | recipients:
+ vstinner, pitrou, Arfrever, akira, martin.panter, piotr.dobrogost, serhiy.storchaka |
2016-03-25 13:33:41 | vstinner | set | messageid: <1458912821.34.0.983904195985.issue19829@psf.upfronthosting.co.za> |
2016-03-25 13:33:41 | vstinner | link | issue19829 messages |
2016-03-25 13:33:41 | vstinner | create | |
|