Serhiy Storchaka added the comment:

Wrapping len() in an lru_cache is bad idea, because this brakes len() of lists, 
dicts and other non-hashable collections.

Should we support this doubtful case?

----------

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

Reply via email to