RFC: Proposal: Deterministic Object Destruction
Ooomzay
ooomzay at gmail.com
Sun Mar 4 17:25:39 EST 2018
On Sunday, 4 March 2018 14:37:30 UTC, Ned Batchelder wrote:
> Are you including cyclic references in your assertion that CPython
> behaves as you want?
Yes. Because the only behaviour required for RAII is to detect and debug such cycles in order to eliminate them. It is a design error/resource leak to create an orphan cycle containing RAII objects.
def main():
gc,disable
More information about the Python-list
mailing list