Jelle Zijlstra <[email protected]> added the comment:
I believe the attrs code wouldn't work if a method is decorated with a decorator that wraps the original function, such as @functools.cache. ---------- nosy: +JelleZijlstra _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue47143> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
