]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728)
authorPablo Galindo <Pablogsal@gmail.com>
Mon, 2 Mar 2020 00:08:29 +0000 (00:08 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 00:08:29 +0000 (00:08 +0000)
Automerge-Triggered-By: @pablogsal.
(cherry picked from commit 217dce9ee6e3cf27a0cedbe1e4a6455776373ec2)

Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
Lib/functools.py
Misc/ACKS

index b41dea79083fc0274b8de0679080c1efa2cd20fc..4cde5f590cf29043e8a15ad582001025eb27cf96 100644 (file)
@@ -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
index 8fd4df5bf3f199dac433d4741a9332fc0e869c98..ef13d55e756bd4b0a8107d482e7601b0a4402bcb 100644 (file)
--- 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