Serhiy Storchaka added the comment:

> But if you don't want to rely on that, maybe we can use a macro
> to avoid code duplication?

This will not make the code cleaner.

In any case this is other issue.

----------
title: Avoid repeated hash calculation in C implementation of  
functools.lru_cache() -> Avoid repeated hash calculation in C implementation of 
functools.lru_cache()

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24483>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to