Antoine Pitrou <pit...@free.fr> added the comment:
I think a weakref is fine. You don't have to *pass* a weakref: just pass a normal ref and let the Result object take a weakref (and a reference to the cache perhaps). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35378> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com