[issue24483] Avoid repeated hash calculation in C implementation of functools.lru_cache()

Meador Inge report at bugs.python.org
Thu Jun 25 17:36:18 CEST 2015


Meador Inge added the comment:

I did some regression testing and reviewed the code; LGTM.

As for the code structure issues, I agree that the duplication is undesirable (the readability argument is not that convincing), but Serhiy's patch is consistent with the existing design.  As such, I think the structure issue is a separate one and definitely should not hold this patch up.

----------
nosy: +meador.inge

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24483>
_______________________________________


More information about the Python-bugs-list mailing list