From 87326420cb97eab377b005e3da30113aac7639c4 Mon Sep 17 00:00:00 2001 From: geisserml Date: Mon, 3 Apr 2023 13:05:59 +0200 Subject: [PATCH] bases: add fixme --- src/pypdfium2/_helpers/_internal/bases.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pypdfium2/_helpers/_internal/bases.py b/src/pypdfium2/_helpers/_internal/bases.py index cfcbcbde0..e6d7a0ce5 100644 --- a/src/pypdfium2/_helpers/_internal/bases.py +++ b/src/pypdfium2/_helpers/_internal/bases.py @@ -40,6 +40,7 @@ def __init__(self, close_func, *args, obj=None, needs_free=True, **kwargs): if obj is None: obj = self + # FIXME `self.parent` will provide the value of the property at the current time - however, we want to use the value from finalization time, not init time self._fin_args = (obj, AutoCloseable._close_template, self.raw, self._uuid, self.parent, close_func, *args) self._fin_kwargs = kwargs