Message262454
1. What if only object which directly owns a limited resource will emit a ResourceWarning? This can break some tests, but may be these tests are too strong? Current GC may be better than when io classes were implemented.
2. An object which indirectly owns a limited resource don't know about this if use only public API. It can known about this only if the wrapped object provides _dealloc_warn(). Thus _dealloc_warn() extends the API. If allows an object which indirectly owns a limited resource emit a resource warning, it may be worth to expose _dealloc_warn() or something equivalent as public API. |
|
Date |
User |
Action |
Args |
2016-03-25 20:42:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, Arfrever, akira, martin.panter, piotr.dobrogost |
2016-03-25 20:42:29 | serhiy.storchaka | set | messageid: <1458938549.53.0.678466493393.issue19829@psf.upfronthosting.co.za> |
2016-03-25 20:42:29 | serhiy.storchaka | link | issue19829 messages |
2016-03-25 20:42:29 | serhiy.storchaka | create | |
|