Pablo Galindo Salgado <[email protected]> added the comment:

Using a weak dictionary is not a correct solution as the cache must take string 
ownership of the arguments and return value to do it's job properly. Moreover, 
there are many types in Python that don't support weak references so this will 
be a backwards incompatible change and limiting the cache quite a lot.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44310>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to