Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
Python-Repository-Hub
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
4
Star
41
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
functools.py
on
cd8dcbc
User selector
All users
All time
Commit history
Commits on Jun 28, 2020
bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796)
ZackerySpytz
authored
cd3c2bd
View commit details
Copy full SHA for cd3c2bd
View code at this point
Browse repository at this point
Commits on May 31, 2020
bpo-17005: Move topological sort functionality to its own module (GH-20558)
Show description for 2f172d8
pablogsal
authored
2f172d8
View commit details
Copy full SHA for 2f172d8
View code at this point
Browse repository at this point
Commits on May 12, 2020
bpo-40571: Make lru_cache(maxsize=None) more discoverable (GH-20019)
rhettinger
authored
21cdb71
View commit details
Copy full SHA for 21cdb71
View code at this point
Browse repository at this point
Commits on Apr 14, 2020
bpo-39481: Make functools.cached_property, partial, partialmethod generic (#19427)
emmatyping
authored
cecf049
View commit details
Copy full SHA for cecf049
View code at this point
Browse repository at this point
Commits on Mar 11, 2020
Updates functools.py with consistent quotes (GH-18825)
Show description for bd87a7f
sobolevn
authored
bd87a7f
View commit details
Copy full SHA for bd87a7f
View code at this point
Browse repository at this point
Commits on Mar 3, 2020
bpo-35712: Make using NotImplemented in a boolean context issue a deprecation warning (GH-13195)
MojoVampire
authored
469325c
View commit details
Copy full SHA for 469325c
View code at this point
Browse repository at this point
Commits on Mar 1, 2020
bpo-39815: add cached_property to all (GH-18726)
Show description for 217dce9
hakancelikdev
authored
217dce9
View commit details
Copy full SHA for 217dce9
View code at this point
Browse repository at this point
Commits on Jan 23, 2020
bpo-17005: Add a class to perform topological sorting to the standard library (GH-11583)
Show description for 99e6c26
pablogsal
and
tim-one
authored
99e6c26
View commit details
Copy full SHA for 99e6c26
View code at this point
Browse repository at this point
Commits on Nov 12, 2019
bpo-38565: add new cache_parameters method for lru_cache (GH-16916)
Zheaoli
authored and
rhettinger
committed
051ff52
View commit details
Copy full SHA for 051ff52
View code at this point
Browse repository at this point
Commits on Sep 16, 2019
Doc: Fix Wikipedia link for functools.lru_cache (GH-16183)
amist
authored and
matrixise
committed
336b306
View commit details
Copy full SHA for 336b306
View code at this point
Browse repository at this point
Commits on Aug 29, 2019
bpo-36743: __get__ is sometimes called without the owner argument (#12992)
rhettinger
authored
0dac68f
View commit details
Copy full SHA for 0dac68f
View code at this point
Browse repository at this point
Commits on Jun 5, 2019
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
Show description for 142566c
serhiy-storchaka
authored
142566c
View commit details
Copy full SHA for 142566c
View code at this point
Browse repository at this point
Commits on Jun 1, 2019
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
serhiy-storchaka
authored
2085bd0
View commit details
Copy full SHA for 2085bd0
View code at this point
Browse repository at this point
Commits on May 26, 2019
bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048)
rhettinger
authored
b821868
View commit details
Copy full SHA for b821868
View code at this point
Browse repository at this point
Commits on May 19, 2019
bpo-35252: Remove FIXME from test_functools (GH-10551)
lysnikolaou
authored and
ambv
committed
d673810
View commit details
Copy full SHA for d673810
View code at this point
Browse repository at this point
Commits on May 6, 2019
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
serhiy-storchaka
authored
d53cf99
View commit details
Copy full SHA for d53cf99
View code at this point
Browse repository at this point
Commits on Apr 1, 2019
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
Show description for 42a139e
serhiy-storchaka
authored
42a139e
View commit details
Copy full SHA for 42a139e
View code at this point
Browse repository at this point
Commits on Mar 27, 2019
bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553)
serhiy-storchaka
authored
da08470
View commit details
Copy full SHA for da08470
View code at this point
Browse repository at this point
Commits on Jan 31, 2019
Consistently move the misses update to just before the user function call (GH-11715)
rhettinger
authored
ffdf1c3
View commit details
Copy full SHA for ffdf1c3
View code at this point
Browse repository at this point
Commits on Jan 26, 2019
bpo-35780: Fix errors in lru_cache() C code (GH-11623)
rhettinger
authored
d8080c0
View commit details
Copy full SHA for d8080c0
View code at this point
Browse repository at this point
Commits on Oct 26, 2018
bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903)
Show description for 7cd2543
pablogsal
authored
7cd2543
View commit details
Copy full SHA for 7cd2543
View code at this point
Browse repository at this point
Commits on Oct 25, 2018
bpo-32321: Add pure Python fallback for functools.reduce (GH-8548)
madman-bob
authored and
vstinner
committed
e25d5fc
View commit details
Copy full SHA for e25d5fc
View code at this point
Browse repository at this point
Commits on Aug 28, 2018
bpo-21145: Add cached_property decorator in functools (#6982)
Show description for d658dea
carljm
authored and
ncoghlan
committed
d658dea
View commit details
Copy full SHA for d658dea
View code at this point
Browse repository at this point
Commits on Jul 10, 2018
bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)
corona10
authored and
methane
committed
445f1b3
View commit details
Copy full SHA for 445f1b3
View code at this point
Browse repository at this point
Commits on May 26, 2018
bpo-32380: Create functools.singledispatchmethod (#6306)
emmatyping
authored and
ambv
committed
c651275
View commit details
Copy full SHA for c651275
View code at this point
Browse repository at this point
Commits on Dec 11, 2017
bpo-32227: functools.singledispatch supports registering via type annotations (#4733)
ambv
authored
e569753
View commit details
Copy full SHA for e569753
View code at this point
Browse repository at this point
Commits on Sep 30, 2017
bpo-31581: Reduce the number of imports for functools (GH-3757)
methane
authored
9811e80
View commit details
Copy full SHA for 9811e80
View code at this point
Browse repository at this point
Commits on Sep 7, 2017
bpo-31370: Remove support for threads-less builds (#3385)
Show description for a6a4dc8
pitrou
authored and
vstinner
committed
a6a4dc8
View commit details
Copy full SHA for a6a4dc8
View code at this point
Browse repository at this point
Commits on Sep 5, 2017
Conceptually, roots is a set. Also searching it as a set is a tiny bit faster (#3338)
rhettinger
authored
15ce0be
View commit details
Copy full SHA for 15ce0be
View code at this point
Browse repository at this point
Add comment to explain the implications of not sorting keywords (#3331)
Show description for 5503709
rhettinger
authored
5503709
View commit details
Copy full SHA for 5503709
View code at this point
Browse repository at this point
Commits on Jan 9, 2017
merge
rhettinger
committed
ac7c5ac
View commit details
Copy full SHA for ac7c5ac
View code at this point
Browse repository at this point
Issue #29203: functools.lru_cache() now respects PEP 468
rhettinger
committed
4ee3914
View commit details
Copy full SHA for 4ee3914
View code at this point
Browse repository at this point
Commits on Dec 16, 2016
Issue #28991: Address comment that the __len__ call looked unattractive
rhettinger
committed
b2d4b3d
View commit details
Copy full SHA for b2d4b3d
View code at this point
Browse repository at this point
merge
rhettinger
committed
c28dbd0
View commit details
Copy full SHA for c28dbd0
View code at this point
Browse repository at this point
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
rhettinger
committed
af56e0e
View commit details
Copy full SHA for af56e0e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.