From: Pablo Galindo Date: Mon, 2 Mar 2020 00:08:29 +0000 (+0000) Subject: [3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728) X-Git-Tag: v3.8.3rc1~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12b714391e485d0150b343b114999bae4a0d34dd;p=thirdparty%2FPython%2Fcpython.git [3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728) Automerge-Triggered-By: @pablogsal. (cherry picked from commit 217dce9ee6e3cf27a0cedbe1e4a6455776373ec2) Co-authored-by: Hakan Çelik --- diff --git a/Lib/functools.py b/Lib/functools.py index b41dea79083f..4cde5f590cf2 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -11,7 +11,8 @@ __all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES', 'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce', 'partial', - 'partialmethod', 'singledispatch', 'singledispatchmethod'] + 'partialmethod', 'singledispatch', 'singledispatchmethod', + "cached_property"] from abc import get_cache_token from collections import namedtuple diff --git a/Misc/ACKS b/Misc/ACKS index 8fd4df5bf3f1..ef13d55e756b 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -362,6 +362,7 @@ Tom Culliton Raúl Cumplido Antonio Cuni Brian Curtin +Hakan Celik Paul Dagnelie Lisandro Dalcin Darren Dale