[issue22184] lrucache should reject maxsize as a function

2014-08-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Awesome. Thanks for the quick implementation. Happy to do it. Thanks for the clean bug report. -- ___ Python tracker ___

[issue22184] lrucache should reject maxsize as a function

2014-08-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Awesome. Thanks for the quick implementation. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue22184] lrucache should reject maxsize as a function

2014-08-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue22184] lrucache should reject maxsize as a function

2014-08-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 780693490c84 by Raymond Hettinger in branch '3.4': Issue 22184: Early detection and reporting of missing lru_cache parameters http://hg.python.org/cpython/rev/780693490c84 -- nosy: +python-dev ___ Python

[issue22184] lrucache should reject maxsize as a function

2014-08-12 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue22184] lrucache should reject maxsize as a function

2014-08-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue22184] lrucache should reject maxsize as a function

2014-08-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- keywords: +patch stage: -> patch review type: -> behavior versions: +Python 3.4 Added file: http://bugs.python.org/file36355/lru.diff ___ Python tracker _

[issue22184] lrucache should reject maxsize as a function

2014-08-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low versions: +Python 3.5 ___ Python tracker ___ ___ Py

[issue22184] lrucache should reject maxsize as a function

2014-08-11 Thread Jason R. Coombs
New submission from Jason R. Coombs: In https://bitbucket.org/jaraco/backports.functools_lru_cache/issue/1/python-2-attributeerror-int-object-has-no, a user was confused when he tried to use the lrucache decorator incorrectly, passing the wrapped function directly to lrucache. Consider: @